From 6bba9899131ca6a4b73f8a4eb3def7c24bfe4870 Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Wed, 9 Sep 2020 01:49:21 +0200 Subject: [PATCH] p2p: Use WSC_RF_BAND_2_4_GHZ constant instead of 0x01 --- src/p2p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p2p.c b/src/p2p.c index 9983b0fc..0ec83ac3 100644 --- a/src/p2p.c +++ b/src/p2p.c @@ -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);