Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353892
b: refs/heads/master
c: 201e789
h: refs/heads/master
v: v3
  • Loading branch information
YAMANE Toshiaki authored and Greg Kroah-Hartman committed Jan 7, 2013
1 parent 6641005 commit 1c4b869
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12f96662534cbf8578c02dfdf6657d2c430daff3
refs/heads/master: 201e7893ff2bfd315444b081569e70cd539838ee
10 changes: 5 additions & 5 deletions trunk/drivers/staging/rtl8187se/ieee80211/dot11d.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ Dot11d_Reset(struct ieee80211_device *ieee)
memset(pDot11dInfo->channel_map, 0, MAX_CHANNEL_NUMBER+1);
memset(pDot11dInfo->MaxTxPwrDbmList, 0xFF, MAX_CHANNEL_NUMBER+1);
// Set new channel map
for (i=1; i<=11; i++) {
for (i = 1; i <= 11; i++) {
(pDot11dInfo->channel_map)[i] = 1;
}
for (i=12; i<=14; i++) {
for (i = 12; i <= 14; i++) {
(pDot11dInfo->channel_map)[i] = 2;
}

Expand Down Expand Up @@ -116,7 +116,7 @@ Dot11d_UpdateCountryIe(
#if 1
//printk("Dot11d_UpdateCountryIe(): Channel List:\n");
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)
printk(" %d", i);
printk("\n");
Expand All @@ -125,7 +125,7 @@ Dot11d_UpdateCountryIe(
UPDATE_CIE_SRC(dev, pTaddr);

pDot11dInfo->CountryIeLen = CoutryIeLen;
memcpy(pDot11dInfo->CountryIeBuf, pCoutryIe,CoutryIeLen);
memcpy(pDot11dInfo->CountryIeBuf, pCoutryIe, CoutryIeLen);
pDot11dInfo->State = DOT11D_STATE_LEARNED;
}

Expand Down Expand Up @@ -202,7 +202,7 @@ int ToLegalChannel(
u8 default_chn = 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)
{
Expand Down

0 comments on commit 1c4b869

Please sign in to comment.