From: Sai.Jiang Date: Wed, 20 May 2015 08:37:50 +0000 (+0800) Subject: Staging: rtl8188eu: fix coding style X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ae33b51453b30b0586c07210ad0715a3dd9378ab;p=openwrt%2Fstaging%2Fblogic.git Staging: rtl8188eu: fix coding style Remove two warnings of missing-blank-line-after-declaration. Signed-off-by: Sai.Jiang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/hal/hal_intf.c b/drivers/staging/rtl8188eu/hal/hal_intf.c index 4bdbed28774e..5edb5c41c8e7 100644 --- a/drivers/staging/rtl8188eu/hal/hal_intf.c +++ b/drivers/staging/rtl8188eu/hal/hal_intf.c @@ -202,6 +202,7 @@ s32 rtw_hal_xmit(struct adapter *adapt, struct xmit_frame *pxmitframe) s32 rtw_hal_mgnt_xmit(struct adapter *adapt, struct xmit_frame *pmgntframe) { s32 ret = _FAIL; + if (adapt->HalFunc.mgnt_xmit) ret = adapt->HalFunc.mgnt_xmit(adapt, pmgntframe); return ret; @@ -236,6 +237,7 @@ void rtw_hal_update_ra_mask(struct adapter *adapt, u32 mac_id, u8 rssi_level) #ifdef CONFIG_88EU_AP_MODE struct sta_info *psta = NULL; struct sta_priv *pstapriv = &adapt->stapriv; + if ((mac_id-1) > 0) psta = pstapriv->sta_aid[(mac_id-1) - 1]; if (psta)