diff options
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_tx.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_tx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_tx.c b/drivers/net/wireless/wl12xx/wl1251_tx.c index c42c43de657e..10023fce1031 100644 --- a/drivers/net/wireless/wl12xx/wl1251_tx.c +++ b/drivers/net/wireless/wl12xx/wl1251_tx.c | |||
@@ -311,7 +311,9 @@ void wl1251_tx_work(struct work_struct *work) | |||
311 | 311 | ||
312 | while ((skb = skb_dequeue(&wl->tx_queue))) { | 312 | while ((skb = skb_dequeue(&wl->tx_queue))) { |
313 | if (!woken_up) { | 313 | if (!woken_up) { |
314 | wl12xx_ps_elp_wakeup(wl); | 314 | ret = wl12xx_ps_elp_wakeup(wl); |
315 | if (ret < 0) | ||
316 | goto out; | ||
315 | woken_up = true; | 317 | woken_up = true; |
316 | } | 318 | } |
317 | 319 | ||