diff options
-rw-r--r-- | drivers/staging/vt6656/wcmd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index 9f6cc2ef08dd..b2fc17f1381b 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c @@ -45,7 +45,6 @@ static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs) static int vnt_cmd_complete(struct vnt_private *priv) { - priv->command_state = WLAN_CMD_IDLE; if (priv->free_cmd_queue == CMD_Q_SIZE) { /* Command Queue Empty */ @@ -165,7 +164,6 @@ void vnt_run_command(struct work_struct *work) int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command) { - if (priv->free_cmd_queue == 0) return false; @@ -178,7 +176,6 @@ int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command) vnt_cmd_complete(priv); return true; - } void vnt_reset_command_timer(struct vnt_private *priv) |