aboutsummaryrefslogtreecommitdiff
path: root/drivers/ar6000/ar6000/ar6000_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ar6000/ar6000/ar6000_drv.c')
-rw-r--r--drivers/ar6000/ar6000/ar6000_drv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ar6000/ar6000/ar6000_drv.c b/drivers/ar6000/ar6000/ar6000_drv.c
index cdf05d1b314..21504f221dd 100644
--- a/drivers/ar6000/ar6000/ar6000_drv.c
+++ b/drivers/ar6000/ar6000/ar6000_drv.c
@@ -1759,7 +1759,7 @@ applyAPTCHeuristics(AR_SOFTC_T *ar)
static void
ar6000_tx_queue_full(void *Context, HTC_ENDPOINT_ID Endpoint)
{
- AR_SOFTC_T *ar = (AR_SOFTC_T *)Context;
+ AR_SOFTC_T *ar = (AR_SOFTC_T *) Context;
if (Endpoint == arWMIStream2EndpointID(ar,WMI_CONTROL_PRI)) {
if (!bypasswmi) {
@@ -1789,9 +1789,8 @@ ar6000_tx_queue_avail(void *Context, HTC_ENDPOINT_ID Endpoint)
/* FIXME: what do for it? */
} else {
/* Wake up interface, rescheduling prevented. */
- if ((ar->arConnected == TRUE) || (bypasswmi)) {
+ if (ar->arConnected == TRUE || bypasswmi)
netif_wake_queue(ar->arNetDev);
- }
}
}