From a665bcc2441fcf30636c2792c125a4d07d44d617 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Sat, 31 May 2014 18:05:15 +0200 Subject: [PATCH] staging: rtl8723au: rtw_check_bcn_info23a(): Use capability bit define Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723au/core/rtw_wlan_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/core/rtw_wlan_util.c b/drivers/staging/rtl8723au/core/rtw_wlan_util.c index 8c007cddd4b9..67fb7ece7e35 100644 --- a/drivers/staging/rtl8723au/core/rtw_wlan_util.c +++ b/drivers/staging/rtl8723au/core/rtw_wlan_util.c @@ -995,7 +995,7 @@ int rtw_check_bcn_info23a(struct rtw_adapter *Adapter, /* check encryption info */ val16 = rtw_get_capability23a(bssid); - if (val16 & BIT(4)) + if (val16 & WLAN_CAPABILITY_PRIVACY) bssid->Privacy = 1; else bssid->Privacy = 0; -- 2.30.2