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>
case WLAN_CMD_SETPOWER_START:
vnt_rf_setpower(pDevice, pDevice->wCurrentRate,
- pMgmt->uCurrChannel);
+ pDevice->hw->conf.chandef.chan->hw_value);
break;
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: