diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-07-12 07:53:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-12 13:20:14 -0700 |
commit | c06b1ad093d7ab25e4618142f0a8d46509dd1fb0 (patch) | |
tree | cc5f126b6a99eda0a9bcefa5fa9a5981e5bd6ea9 /drivers/staging/vt6656/wcmd.c | |
parent | e30546d6aa8f2032836a2f5ca98e0a4c467264d4 (diff) |
staging: vt6656: wcmd Remove command WLAN_CMD_RADIO
Part of it has already been removed. checking isr1 & ISR_GPIO3
serves no purpose.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6656/wcmd.c')
-rw-r--r-- | drivers/staging/vt6656/wcmd.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index 2553cde8a16c..0b874868525b 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c @@ -185,10 +185,6 @@ static int s_bCommandComplete(struct vnt_private *pDevice) pDevice->eCommandState = WLAN_CMD_INIT_MAC80211_START; break; - case WLAN_CMD_RADIO: - pDevice->eCommandState = WLAN_CMD_RADIO_START; - pDevice->bRadioCmd = bRadioCmd; - break; case WLAN_CMD_CHANGE_BBSENSITIVITY: pDevice->eCommandState = WLAN_CMD_CHANGE_BBSENSITIVITY_START; break; @@ -234,16 +230,6 @@ int bScheduleCommand(struct vnt_private *pDevice, return false; pDevice->eCmdQueue[pDevice->uCmdEnqueueIdx].eCmd = eCommand; pDevice->eCmdQueue[pDevice->uCmdEnqueueIdx].bForceSCAN = true; - if (pbyItem0 != NULL) { - switch (eCommand) { - case WLAN_CMD_RADIO: - pDevice->eCmdQueue[pDevice->uCmdEnqueueIdx].bRadioCmd = *((int *)pbyItem0); - break; - - default: - break; - } - } ADD_ONE_WITH_WRAP_AROUND(pDevice->uCmdEnqueueIdx, CMD_Q_SIZE); pDevice->cbFreeCmdQueue--; |