staging/rtl8187se: Fix spacing coding style in ieee80211/dot11d.c
The following errors fixed. - ERROR: spaces required around that '=' (ctx:VxV) - ERROR: spaces required around that '<=' (ctx:VxV) - ERROR: space required after that ',' (ctx:VxV) Signed-off-by: YAMANE Toshiaki <yamanetoshi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
12f9666253
commit
201e7893ff
1 changed files with 5 additions and 5 deletions
|
@ -39,10 +39,10 @@ Dot11d_Reset(struct ieee80211_device *ieee)
|
||||||
memset(pDot11dInfo->channel_map, 0, MAX_CHANNEL_NUMBER+1);
|
memset(pDot11dInfo->channel_map, 0, MAX_CHANNEL_NUMBER+1);
|
||||||
memset(pDot11dInfo->MaxTxPwrDbmList, 0xFF, MAX_CHANNEL_NUMBER+1);
|
memset(pDot11dInfo->MaxTxPwrDbmList, 0xFF, MAX_CHANNEL_NUMBER+1);
|
||||||
// Set new channel map
|
// Set new channel map
|
||||||
for (i=1; i<=11; i++) {
|
for (i = 1; i <= 11; i++) {
|
||||||
(pDot11dInfo->channel_map)[i] = 1;
|
(pDot11dInfo->channel_map)[i] = 1;
|
||||||
}
|
}
|
||||||
for (i=12; i<=14; i++) {
|
for (i = 12; i <= 14; i++) {
|
||||||
(pDot11dInfo->channel_map)[i] = 2;
|
(pDot11dInfo->channel_map)[i] = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ Dot11d_UpdateCountryIe(
|
||||||
#if 1
|
#if 1
|
||||||
//printk("Dot11d_UpdateCountryIe(): Channel List:\n");
|
//printk("Dot11d_UpdateCountryIe(): Channel List:\n");
|
||||||
printk("Channel List:");
|
printk("Channel List:");
|
||||||
for(i=1; i<= MAX_CHANNEL_NUMBER; i++)
|
for(i = 1; i <= MAX_CHANNEL_NUMBER; i++)
|
||||||
if(pDot11dInfo->channel_map[i] > 0)
|
if(pDot11dInfo->channel_map[i] > 0)
|
||||||
printk(" %d", i);
|
printk(" %d", i);
|
||||||
printk("\n");
|
printk("\n");
|
||||||
|
@ -125,7 +125,7 @@ Dot11d_UpdateCountryIe(
|
||||||
UPDATE_CIE_SRC(dev, pTaddr);
|
UPDATE_CIE_SRC(dev, pTaddr);
|
||||||
|
|
||||||
pDot11dInfo->CountryIeLen = CoutryIeLen;
|
pDot11dInfo->CountryIeLen = CoutryIeLen;
|
||||||
memcpy(pDot11dInfo->CountryIeBuf, pCoutryIe,CoutryIeLen);
|
memcpy(pDot11dInfo->CountryIeBuf, pCoutryIe, CoutryIeLen);
|
||||||
pDot11dInfo->State = DOT11D_STATE_LEARNED;
|
pDot11dInfo->State = DOT11D_STATE_LEARNED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -202,7 +202,7 @@ int ToLegalChannel(
|
||||||
u8 default_chn = 0;
|
u8 default_chn = 0;
|
||||||
u32 i = 0;
|
u32 i = 0;
|
||||||
|
|
||||||
for (i=1; i<= MAX_CHANNEL_NUMBER; i++)
|
for (i = 1; i <= MAX_CHANNEL_NUMBER; i++)
|
||||||
{
|
{
|
||||||
if(pDot11dInfo->channel_map[i] > 0)
|
if(pDot11dInfo->channel_map[i] > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue