diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-07-15 05:08:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-15 05:08:24 -0400 |
commit | 0b57664cf2393bc1eff594ff7e5ff26533843fe6 (patch) | |
tree | ec83e7290e84fe7ca70c87c8ebff935076a5568f /drivers/net/wireless/rt2x00/rt2x00mac.c | |
parent | d3a8eab093aab9f309d2e8d06cd718a4cb20e626 (diff) |
wireless: fix warnings from QoS patch
When I removed the special "default" meaning from the QoS
parameters, I forgot to update drivers and this lead to
warnings because some drivers were checking for the special
values and putting in defaults. This fixes that by removing
the default special-casing completely.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00mac.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00mac.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00mac.c b/drivers/net/wireless/rt2x00/rt2x00mac.c index 77af1df5d899..f1dcbaa80c3c 100644 --- a/drivers/net/wireless/rt2x00/rt2x00mac.c +++ b/drivers/net/wireless/rt2x00/rt2x00mac.c | |||
@@ -554,10 +554,7 @@ int rt2x00mac_conf_tx(struct ieee80211_hw *hw, u16 queue_idx, | |||
554 | else | 554 | else |
555 | queue->cw_max = 10; /* cw_min: 2^10 = 1024. */ | 555 | queue->cw_max = 10; /* cw_min: 2^10 = 1024. */ |
556 | 556 | ||
557 | if (params->aifs >= 0) | 557 | queue->aifs = params->aifs; |
558 | queue->aifs = params->aifs; | ||
559 | else | ||
560 | queue->aifs = 2; | ||
561 | 558 | ||
562 | INFO(rt2x00dev, | 559 | INFO(rt2x00dev, |
563 | "Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d.\n", | 560 | "Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d.\n", |