26 lines
983 B
Diff
26 lines
983 B
Diff
From: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Date: Sat, 31 May 2014 18:05:15 +0200
|
|
Subject: [016/249] staging: rtl8723au: rtw_check_bcn_info23a(): Use capability
|
|
bit define
|
|
Origin: https://git.kernel.org/linus/a665bcc2441fcf30636c2792c125a4d07d44d617
|
|
|
|
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
|
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
---
|
|
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 8c007cd..67fb7ec 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;
|