Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205579
b: refs/heads/master
c: 6b1e6b8
h: refs/heads/master
i:
  205577: 3e31e87
  205575: e3746c8
v: v3
  • Loading branch information
Charles Clément authored and Greg Kroah-Hartman committed Jun 18, 2010
1 parent 81c548e commit a11a738
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 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: 2ef98c606516be4efb176c3c5e339b769ca1833a
refs/heads/master: 6b1e6b8f957386e60e3fac15a64518c8f7ce5a69
5 changes: 2 additions & 3 deletions trunk/drivers/staging/vt6655/card.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,7 @@ s_vCaculateOFDMRParameter(
/*--------------------- Export function -------------------------*/
/************************************************************************
* Country Channel Valid
* Input: CountryCode, ChannelNum
* ChanneIndex is defined as VT3253 MAC channel:
* Input: ChannelIndex is defined as VT3253 MAC channel:
* 1 = 2.4G channel 1
* 2 = 2.4G channel 2
* ...
Expand All @@ -458,7 +457,7 @@ s_vCaculateOFDMRParameter(
************************************************************************/
//2008-8-4 <add> by chester
BOOL
ChannelValid(UINT CountryCode, UINT ChannelIndex)
ChannelValid(UINT ChannelIndex)
{
BOOL bValid;

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/vt6655/card.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ typedef enum _CARD_OP_MODE {

/*--------------------- Export Functions --------------------------*/

BOOL ChannelValid(UINT CountryCode, UINT ChannelIndex);
BOOL ChannelValid(UINT ChannelIndex);
void CARDvSetRSPINF(void *pDeviceHandler, CARD_PHY_TYPE ePHYType);
void vUpdateIFS(void *pDeviceHandler);
void CARDvUpdateBasicTopRate(void *pDeviceHandler);
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6655/wcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ vCommandTimer (

} else {
//2008-8-4 <add> by chester
if (!ChannelValid(pDevice->byZoneType, pMgmt->uScanChannel)) {
if (!ChannelValid(pMgmt->uScanChannel)) {
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Invalid channel pMgmt->uScanChannel = %d \n",pMgmt->uScanChannel);
s_bCommandComplete(pDevice);
return;
Expand Down Expand Up @@ -441,7 +441,7 @@ vCommandTimer (
// printk("chester-ch=%d\n",pMgmt->uScanChannel);
pMgmt->uScanChannel++;
//2008-8-4 <modify> by chester
if (!ChannelValid(pDevice->byZoneType, pMgmt->uScanChannel) &&
if (!ChannelValid(pMgmt->uScanChannel) &&
pMgmt->uScanChannel <= pDevice->byMaxChannel ){
pMgmt->uScanChannel=pDevice->byMaxChannel+1;
pMgmt->eCommandState = WLAN_CMD_SCAN_END;
Expand Down

0 comments on commit a11a738

Please sign in to comment.