Loading drivers/staging/vt6656/wcmd.c +31 −29 Original line number Diff line number Diff line Loading @@ -147,12 +147,14 @@ static int s_bCommandComplete(struct vnt_private *pDevice) //Command Queue Empty pDevice->bCmdRunning = false; return true; } else { } pDevice->eCommand = pDevice->eCmdQueue[pDevice->uCmdDequeueIdx].eCmd; ADD_ONE_WITH_WRAP_AROUND(pDevice->uCmdDequeueIdx, CMD_Q_SIZE); pDevice->cbFreeCmdQueue++; pDevice->bCmdRunning = true; switch (pDevice->eCommand) { case WLAN_CMD_INIT_MAC80211: pDevice->eCommandState = WLAN_CMD_INIT_MAC80211_START; Loading Loading @@ -181,8 +183,8 @@ static int s_bCommandComplete(struct vnt_private *pDevice) default: break; } vCommandTimerWait(pDevice, 0); } return true; } Loading Loading
drivers/staging/vt6656/wcmd.c +31 −29 Original line number Diff line number Diff line Loading @@ -147,12 +147,14 @@ static int s_bCommandComplete(struct vnt_private *pDevice) //Command Queue Empty pDevice->bCmdRunning = false; return true; } else { } pDevice->eCommand = pDevice->eCmdQueue[pDevice->uCmdDequeueIdx].eCmd; ADD_ONE_WITH_WRAP_AROUND(pDevice->uCmdDequeueIdx, CMD_Q_SIZE); pDevice->cbFreeCmdQueue++; pDevice->bCmdRunning = true; switch (pDevice->eCommand) { case WLAN_CMD_INIT_MAC80211: pDevice->eCommandState = WLAN_CMD_INIT_MAC80211_START; Loading Loading @@ -181,8 +183,8 @@ static int s_bCommandComplete(struct vnt_private *pDevice) default: break; } vCommandTimerWait(pDevice, 0); } return true; } Loading