Commit fee5a5fb authored by Ana Rey's avatar Ana Rey Committed by Greg Kroah-Hartman

staging: rtl8192u: fix coding style in function definition

Remove innecessary spaces and indentation errors in function definition
Signed-off-by: default avatarAna Rey <anarey@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3777aac5
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
#include "dot11d.h" #include "dot11d.h"
void void Dot11d_Init(struct ieee80211_device *ieee)
Dot11d_Init(struct ieee80211_device *ieee)
{ {
PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(ieee); PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(ieee);
...@@ -19,8 +18,7 @@ Dot11d_Init(struct ieee80211_device *ieee) ...@@ -19,8 +18,7 @@ Dot11d_Init(struct ieee80211_device *ieee)
} }
/* Reset to the state as we are just entering a regulatory domain. */ /* Reset to the state as we are just entering a regulatory domain. */
void void Dot11d_Reset(struct ieee80211_device *ieee)
Dot11d_Reset(struct ieee80211_device *ieee)
{ {
u32 i; u32 i;
PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(ieee); PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(ieee);
...@@ -48,13 +46,8 @@ Dot11d_Reset(struct ieee80211_device *ieee) ...@@ -48,13 +46,8 @@ Dot11d_Reset(struct ieee80211_device *ieee)
* 1. IS_DOT11D_ENABLE() is TRUE. * 1. IS_DOT11D_ENABLE() is TRUE.
* 2. Input IE is an valid one. * 2. Input IE is an valid one.
*/ */
void void Dot11d_UpdateCountryIe(struct ieee80211_device *dev, u8 *pTaddr,
Dot11d_UpdateCountryIe( u16 CoutryIeLen, u8 *pCoutryIe)
struct ieee80211_device *dev,
u8 *pTaddr,
u16 CoutryIeLen,
u8 *pCoutryIe
)
{ {
PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev); PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev);
u8 i, j, NumTriples, MaxChnlNum; u8 i, j, NumTriples, MaxChnlNum;
...@@ -103,11 +96,7 @@ Dot11d_UpdateCountryIe( ...@@ -103,11 +96,7 @@ Dot11d_UpdateCountryIe(
} }
u8 u8 DOT11D_GetMaxTxPwrInDbm(struct ieee80211_device *dev, u8 Channel)
DOT11D_GetMaxTxPwrInDbm(
struct ieee80211_device *dev,
u8 Channel
)
{ {
PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev); PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev);
u8 MaxTxPwrInDbm = 255; u8 MaxTxPwrInDbm = 255;
...@@ -123,10 +112,7 @@ DOT11D_GetMaxTxPwrInDbm( ...@@ -123,10 +112,7 @@ DOT11D_GetMaxTxPwrInDbm(
} }
void void DOT11D_ScanComplete(struct ieee80211_device *dev)
DOT11D_ScanComplete(
struct ieee80211_device *dev
)
{ {
PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev); PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev);
...@@ -146,10 +132,7 @@ DOT11D_ScanComplete( ...@@ -146,10 +132,7 @@ DOT11D_ScanComplete(
} }
} }
int IsLegalChannel( int IsLegalChannel(struct ieee80211_device *dev, u8 channel)
struct ieee80211_device *dev,
u8 channel
)
{ {
PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev); PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev);
...@@ -162,10 +145,7 @@ int IsLegalChannel( ...@@ -162,10 +145,7 @@ int IsLegalChannel(
return 0; return 0;
} }
int ToLegalChannel( int ToLegalChannel(struct ieee80211_device *dev, u8 channel)
struct ieee80211_device *dev,
u8 channel
)
{ {
PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev); PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev);
u8 default_chn = 0; u8 default_chn = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment