diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-06-25 21:14:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-26 20:21:20 -0400 |
commit | 63e754d407949a7b80ce4398b7c66e3d2edd2990 (patch) | |
tree | 38129c6ed601f20eade73133e094c21a8d9a54cb | |
parent | c224642097e4a54f4e618e46777cc28e12498559 (diff) |
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>
-rw-r--r-- | drivers/staging/vt6656/wcmd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index 3095689094fe..81a6683f3b58 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c @@ -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: |