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:
Jes Sorensen
2014-05-31 18:05:15 +02:00
committed by Greg Kroah-Hartman
parent ed08b4de7c
commit a665bcc244

View File

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