staging: vt6656: mac80211 conversion: vRunCommand channel changes

pDevice->hw->conf.chandef.chan->hw_value to find current channel

Remove bChannelSwitch, uCurrChannel, byNewChannel and bStopDataPkt

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Malcolm Priestley 2014-06-25 21:14:33 +01:00 committed by Greg Kroah-Hartman
parent c224642097
commit 63e754d407
1 changed files with 2 additions and 5 deletions

View File

@ -855,7 +855,7 @@ void vRunCommand(struct work_struct *work)
case WLAN_CMD_SETPOWER_START:
vnt_rf_setpower(pDevice, pDevice->wCurrentRate,
pMgmt->uCurrChannel);
pDevice->hw->conf.chandef.chan->hw_value);
break;
@ -895,10 +895,7 @@ void vRunCommand(struct work_struct *work)
break;
case WLAN_CMD_11H_CHSW_START:
vnt_set_channel(pDevice, pDevice->byNewChannel);
pDevice->bChannelSwitch = false;
pMgmt->uCurrChannel = pDevice->byNewChannel;
pDevice->bStopDataPkt = false;
vnt_set_channel(pDevice, pDevice->hw->conf.chandef.chan->hw_value);
break;
case WLAN_CMD_CONFIGURE_FILTER_START: