3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

p2p: Use WSC_RF_BAND_2_4_GHZ constant instead of 0x01

This commit is contained in:
Andrew Zaborowski 2020-09-09 01:49:21 +02:00 committed by Denis Kenzior
parent 0fc97d2674
commit 6bba989913

View File

@ -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);