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>
This commit is contained in:
committed by
David S. Miller
parent
d3a8eab093
commit
0b57664cf2
@ -554,10 +554,7 @@ int rt2x00mac_conf_tx(struct ieee80211_hw *hw, u16 queue_idx,
|
||||
else
|
||||
queue->cw_max = 10; /* cw_min: 2^10 = 1024. */
|
||||
|
||||
if (params->aifs >= 0)
|
||||
queue->aifs = params->aifs;
|
||||
else
|
||||
queue->aifs = 2;
|
||||
queue->aifs = params->aifs;
|
||||
|
||||
INFO(rt2x00dev,
|
||||
"Configured TX queue %d - CWmin: %d, CWmax: %d, Aifs: %d.\n",
|
||||
|
Reference in New Issue
Block a user