From: Dilek Uzulmez Date: Tue, 24 Feb 2015 13:14:26 +0000 (+0200) Subject: Staging: rtl8723au: Add blank line after declarations X-Git-Tag: firefly_0821_release~176^2~1998^2~138^2~956 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=91701e44261c13123ec931173ac1e29a7cd8f939;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 */