Commit 5d279df1 authored by Xenia Ragiadakou's avatar Xenia Ragiadakou Committed by Greg Kroah-Hartman

STAGING: rtl8192u/ieee80211: fix checkpatch error about pointer position in dot11d

This patch fixes the pointer position in dot11d.h and dot11d.c
to meet the kernel coding style conventions.
Signed-off-by: default avatarXenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bdedc750
...@@ -67,9 +67,9 @@ Dot11d_Reset(struct ieee80211_device *ieee) ...@@ -67,9 +67,9 @@ Dot11d_Reset(struct ieee80211_device *ieee)
void void
Dot11d_UpdateCountryIe( Dot11d_UpdateCountryIe(
struct ieee80211_device *dev, struct ieee80211_device *dev,
u8 * pTaddr, u8 *pTaddr,
u16 CoutryIeLen, u16 CoutryIeLen,
u8 * pCoutryIe u8 *pCoutryIe
) )
{ {
PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev); PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev);
...@@ -101,7 +101,7 @@ Dot11d_UpdateCountryIe( ...@@ -101,7 +101,7 @@ Dot11d_UpdateCountryIe(
MaxChnlNum = pTriple->FirstChnl + j; MaxChnlNum = pTriple->FirstChnl + j;
} }
pTriple = (PCHNL_TXPOWER_TRIPLE)((u8*)pTriple + 3); pTriple = (PCHNL_TXPOWER_TRIPLE)((u8 *)pTriple + 3);
} }
//printk("Dot11d_UpdateCountryIe(): Channel List:\n"); //printk("Dot11d_UpdateCountryIe(): Channel List:\n");
printk("Channel List:"); printk("Channel List:");
...@@ -143,7 +143,7 @@ DOT11D_GetMaxTxPwrInDbm( ...@@ -143,7 +143,7 @@ DOT11D_GetMaxTxPwrInDbm(
void void
DOT11D_ScanComplete( DOT11D_ScanComplete(
struct ieee80211_device * dev struct ieee80211_device *dev
) )
{ {
PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev); PRT_DOT11D_INFO pDot11dInfo = GET_DOT11D_INFO(dev);
...@@ -166,7 +166,7 @@ DOT11D_ScanComplete( ...@@ -166,7 +166,7 @@ DOT11D_ScanComplete(
} }
int IsLegalChannel( int IsLegalChannel(
struct ieee80211_device * dev, struct ieee80211_device *dev,
u8 channel u8 channel
) )
{ {
...@@ -183,7 +183,7 @@ int IsLegalChannel( ...@@ -183,7 +183,7 @@ int IsLegalChannel(
} }
int ToLegalChannel( int ToLegalChannel(
struct ieee80211_device * dev, struct ieee80211_device *dev,
u8 channel u8 channel
) )
{ {
......
...@@ -71,9 +71,9 @@ Dot11d_Reset( ...@@ -71,9 +71,9 @@ Dot11d_Reset(
void void
Dot11d_UpdateCountryIe( Dot11d_UpdateCountryIe(
struct ieee80211_device *dev, struct ieee80211_device *dev,
u8 * pTaddr, u8 *pTaddr,
u16 CoutryIeLen, u16 CoutryIeLen,
u8 * pCoutryIe u8 *pCoutryIe
); );
u8 u8
...@@ -84,16 +84,16 @@ DOT11D_GetMaxTxPwrInDbm( ...@@ -84,16 +84,16 @@ DOT11D_GetMaxTxPwrInDbm(
void void
DOT11D_ScanComplete( DOT11D_ScanComplete(
struct ieee80211_device * dev struct ieee80211_device *dev
); );
int IsLegalChannel( int IsLegalChannel(
struct ieee80211_device * dev, struct ieee80211_device *dev,
u8 channel u8 channel
); );
int ToLegalChannel( int ToLegalChannel(
struct ieee80211_device * dev, struct ieee80211_device *dev,
u8 channel u8 channel
); );
#endif // #ifndef __INC_DOT11D_H #endif // #ifndef __INC_DOT11D_H
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