aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54/p54common.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/p54/p54common.c')
-rw-r--r--drivers/net/wireless/p54/p54common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index 34b91ccd8aec..33d608a60d79 100644
--- a/drivers/net/wireless/p54/p54common.c
+++ b/drivers/net/wireless/p54/p54common.c
@@ -944,7 +944,7 @@ static int p54_conf_tx(struct ieee80211_hw *dev, u16 queue,
944 vdcf = (struct p54_tx_control_vdcf *)(((struct p54_control_hdr *) 944 vdcf = (struct p54_tx_control_vdcf *)(((struct p54_control_hdr *)
945 ((void *)priv->cached_vdcf + priv->tx_hdr_len))->data); 945 ((void *)priv->cached_vdcf + priv->tx_hdr_len))->data);
946 946
947 if ((params) && !((queue < 0) || (queue > 4))) { 947 if ((params) && !(queue > 4)) {
948 P54_SET_QUEUE(vdcf->queue[queue], params->aifs, 948 P54_SET_QUEUE(vdcf->queue[queue], params->aifs,
949 params->cw_min, params->cw_max, params->txop); 949 params->cw_min, params->cw_max, params->txop);
950 } else 950 } else