Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 162457
b: refs/heads/master
c: 375d662
h: refs/heads/master
i:
  162455: 9bae633
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent b562ecf commit e49ead5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 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: 9a93e4e1aa8c4f65f455456bc2bb1bcb306ac0f1
refs/heads/master: 375d662f9fbbc177485f6f6ce030fc0eb622f3d3
12 changes: 0 additions & 12 deletions trunk/drivers/staging/rt2860/common/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -5756,7 +5756,6 @@ VOID AsicSwitchChannel(
RTMP_RF_REGS *RFRegTable;

// Search Tx power value
#ifdef RT30xx
// We can't use ChannelList to search channel, since some central channl's txpowr doesn't list
// in ChannelList, so use TxPower array instead.
//
Expand All @@ -5769,17 +5768,6 @@ VOID AsicSwitchChannel(
break;
}
}
#else
for (index = 0; index < pAd->ChannelListNum; index++)
{
if (Channel == pAd->ChannelList[index].Channel)
{
TxPwer = pAd->ChannelList[index].Power;
TxPwer2 = pAd->ChannelList[index].Power2;
break;
}
}
#endif

if (index == MAX_NUM_OF_CHANNELS)
DBGPRINT(RT_DEBUG_ERROR, ("AsicSwitchChannel: Can't find the Channel#%d \n", Channel));
Expand Down

0 comments on commit e49ead5

Please sign in to comment.