aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723au/core/rtw_ap.c
diff options
context:
space:
mode:
authorDilek Uzulmez <dilekuzulmez@gmail.com>2015-02-24 15:14:26 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-26 13:03:11 -0800
commit91701e44261c13123ec931173ac1e29a7cd8f939 (patch)
tree34ed5da3eb262bacb574f42e6b0a9531bad97cf4 /drivers/staging/rtl8723au/core/rtw_ap.c
parentStaging: rtl8723au: core: Fix quoted string split across lines (diff)
downloadlinux-dev-91701e44261c13123ec931173ac1e29a7cd8f939.tar.xz
linux-dev-91701e44261c13123ec931173ac1e29a7cd8f939.zip
Staging: rtl8723au: Add blank line after declarations
The following patch fixes the checkpatch.pl warning: drivers/staging/rtl8723au/core/rtw_ap.c WARNING: Missing a blank line after declarations Signed-off-by: Dilek Uzulmez <dilekuzulmez@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au/core/rtw_ap.c')
-rw-r--r--drivers/staging/rtl8723au/core/rtw_ap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c b/drivers/staging/rtl8723au/core/rtw_ap.c
index b0da82f42a55..bed13db03da2 100644
--- a/drivers/staging/rtl8723au/core/rtw_ap.c
+++ b/drivers/staging/rtl8723au/core/rtw_ap.c
@@ -783,6 +783,7 @@ int rtw_check_beacon_data23a(struct rtw_adapter *padapter,
struct wlan_bssid_ex *pbss_network = &pmlmepriv->cur_network.network;
u8 *ie = pbss_network->IEs;
u8 *pbuf = mgmt->u.beacon.variable;
+
len -= offsetof(struct ieee80211_mgmt, u.beacon.variable);
/* SSID */
/* Supported rates */