]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit827c1b06ea0ecf3b1e7c6c9e163a92fca8aaf750
tree592218a0d70536abc6c9d7a281b1899ac07c8f02
parent7be194e741fbcebaaac70140ad7c07bb0607f1b3
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