aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2014-06-24 15:03:22 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-24 13:50:58 -0400
commite61fc7cf90c9eb6af8380e2b02e28c60d4ee0ef5 (patch)
tree580d9354c674f3de972fa2152e9bd82b9be8dac1 /drivers/staging/rtl8723au/core/rtw_mlme_ext.c
parentstaging: rtl8723au: rtw_check_beacon_data23a(): Capability is already uptodate in cur_network (diff)
downloadlinux-dev-e61fc7cf90c9eb6af8380e2b02e28c60d4ee0ef5.tar.xz
linux-dev-e61fc7cf90c9eb6af8380e2b02e28c60d4ee0ef5.zip
staging: rtl8723au: Use _FIXED_IE_LEN_ instead of hard coded value
This should help catching all the users once we stop carrying the fixed beacon elements in the IE array. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au/core/rtw_mlme_ext.c')
-rw-r--r--drivers/staging/rtl8723au/core/rtw_mlme_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
index 03ced01ef82b..6791ad7f9ade 100644
--- a/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
+++ b/drivers/staging/rtl8723au/core/rtw_mlme_ext.c
@@ -4254,7 +4254,7 @@ static struct wlan_bssid_ex *collect_bss_info(struct rtw_adapter *padapter,
memcpy(bssid->SupportedRates + i, p + 2, p[1]);
}
- if (bssid->IELength < 12)
+ if (bssid->IELength < _FIXED_IE_LENGTH_)
goto fail;
/* Checking for DSConfig */