mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
p2p: Use WSC_RF_BAND_2_4_GHZ constant instead of 0x01
This commit is contained in:
parent
0fc97d2674
commit
6bba989913
@ -3184,7 +3184,7 @@ static void p2p_device_send_probe_resp(struct p2p_device *dev,
|
||||
wsc_info.primary_device_type = dev->device_info.primary_device_type;
|
||||
l_strlcpy(wsc_info.device_name, dev->device_info.device_name,
|
||||
sizeof(wsc_info.device_name));
|
||||
wsc_info.rf_bands = 0x01; /* 2.4GHz */
|
||||
wsc_info.rf_bands = WSC_RF_BAND_2_4_GHZ;
|
||||
wsc_info.version2 = true;
|
||||
|
||||
wsc_data = wsc_build_probe_response(&wsc_info, &wsc_data_size);
|
||||
|
Loading…
Reference in New Issue
Block a user