staging: rtl8192e: fixed coding style issues
PATCH 1/1 staging: rtl8192e: fixed coding style issues
Signed-off-by Yousof El-Sayed <[email protected]>
--- drivers/staging/rtl8192e/dot11d.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
drivers/staging/rtl8192e/dot11d.c +6 -8
@@ -50,10 +50,9 @@ void dot11d_init(struct rtllib_device *ieee) pDot11dInfo->State =DOT11D_STATE_NONE ; pDot11dInfo->CountryIeLen =0 ; -memset (pDot11dInfo->channel_map,0 ,MAX_CHANNEL_NUMBER +1 ); -memset (pDot11dInfo->MaxTxPwrDbmList,0xFF ,MAX_CHANNEL_NUMBER +1 ); +memset (pDot11dInfo->channel_map,0 ,MAX_CHANNEL_NUMBER +1 ); +memset (pDot11dInfo->MaxTxPwrDbmList,0xFF ,MAX_CHANNEL_NUMBER +1 );RESET_CIE_WATCHDOG (ieee); - }EXPORT_SYMBOL (dot11d_init);
@@ -99,14 +98,13 @@ void Dot11d_Channelmap(u8 channel_plan, struct rtllib_device *ieee) }EXPORT_SYMBOL (Dot11d_Channelmap); -void Dot11d_Reset (struct rtllib_device *ieee) {struct rt_dot11d_info *pDot11dInfo =GET_DOT11D_INFO (ieee);u32 i; -memset (pDot11dInfo->channel_map,0 ,MAX_CHANNEL_NUMBER +1 ); -memset (pDot11dInfo->MaxTxPwrDbmList,0xFF ,MAX_CHANNEL_NUMBER +1 ); +memset (pDot11dInfo->channel_map,0 ,MAX_CHANNEL_NUMBER +1 ); +memset (pDot11dInfo->MaxTxPwrDbmList,0xFF ,MAX_CHANNEL_NUMBER +1 );for (i =1 ; i <=11 ; i++) (pDot11dInfo->channel_map)[i] =1 ;for (i =12 ; i <=14 ; i++)
@@ -123,8 +121,8 @@ void Dot11d_UpdateCountryIe(struct rtllib_device *dev, u8 *pTaddr,u8 i, j, NumTriples, MaxChnlNum;struct chnl_txpow_triple *pTriple; -memset (pDot11dInfo->channel_map,0 ,MAX_CHANNEL_NUMBER +1 ); -memset (pDot11dInfo->MaxTxPwrDbmList,0xFF ,MAX_CHANNEL_NUMBER +1 ); +memset (pDot11dInfo->channel_map,0 ,MAX_CHANNEL_NUMBER +1 ); +memset (pDot11dInfo->MaxTxPwrDbmList,0xFF ,MAX_CHANNEL_NUMBER +1 ); MaxChnlNum =0 ; NumTriples = (CoutryIeLen -3 ) /3 ; pTriple = (struct chnl_txpow_triple *)(pCoutryIe +3 );
Signature · 1 line
1.8.3.1
Greg KH
maintainerQuoted 1 line · Yousof El-Sayed
Signed-off-by Yousof El-Sayed <[email protected]>
I can't take patches without any changelog entry, sorry.
And be specific about what and why you are changing anything, "coding style issues" is very vague.
thanks,
greg k-h
Hi,
Thank you for the email, apologies for that I'll get that sorted out now.
Thanks again
Quoted 11 lines · Greg KH
Quoted 1 line · Yousof El-Sayed
Signed-off-by Yousof El-Sayed <[email protected]>I can't take patches without any changelog entry, sorry.
And be specific about what and why you are changing anything, "coding style issues" is very vague.
thanks,
greg k-h
Greg KH
maintainerQuoted 1 line · Yousof El-Sayed
Signed-off-by Yousof El-Sayed <[email protected]>
I can't take a patch with no changelog entry. And your subject is too vague as well :(
greg k-h