mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 19:15:03 -04:00
staging: rtl8723au: rtw_check_bcn_info23a(): Use capability bit define
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ed08b4de7c
commit
a665bcc244
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user