rt2x00: Fix tx parameter initialization
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 3 Feb 2008 14:47:30 +0000 (15:47 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:19:27 +0000 (15:19 -0500)
commit3b3618ad5117331b6fa7cafc41fc18935709e569
tree592218a0d70536abc6c9d7a281b1899ac07c8f02
parentd7bafff3f94efd850f8744d683e63812ff8d55c5
rt2x00: Fix tx parameter initialization

Check if the aifs, cw_min and cw_max are above 0
when determining if the default should be used.
Tor aifs a negative number is used to determine
if the default should be used or not.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00mac.c