diff options
-rw-r--r-- | drivers/staging/cw1200/bh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/cw1200/bh.c b/drivers/staging/cw1200/bh.c index 1acc972b6d4..fe8ecc1287f 100644 --- a/drivers/staging/cw1200/bh.c +++ b/drivers/staging/cw1200/bh.c @@ -292,7 +292,8 @@ static int cw1200_bh(void *arg) rx = atomic_xchg(&priv->bh_rx, 0); tx = atomic_xchg(&priv->bh_tx, 0); term = atomic_xchg(&priv->bh_term, 0); - suspend = atomic_read(&priv->bh_suspend); + suspend = pending_tx ? + 0 : atomic_read(&priv->bh_suspend); (rx || tx || term || suspend); }), status); |