aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r--drivers/net/wireless/libertas/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index 0dc7de6a067b..839ffe818c18 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -1237,6 +1237,7 @@ int lbs_stop_card(struct lbs_private *priv)
1237 /* Flush pending command nodes */ 1237 /* Flush pending command nodes */
1238 spin_lock_irqsave(&priv->driver_lock, flags); 1238 spin_lock_irqsave(&priv->driver_lock, flags);
1239 list_for_each_entry(cmdnode, &priv->cmdpendingq, list) { 1239 list_for_each_entry(cmdnode, &priv->cmdpendingq, list) {
1240 cmdnode->result = -ENOENT;
1240 cmdnode->cmdwaitqwoken = 1; 1241 cmdnode->cmdwaitqwoken = 1;
1241 wake_up_interruptible(&cmdnode->cmdwait_q); 1242 wake_up_interruptible(&cmdnode->cmdwait_q);
1242 } 1243 }