]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: default to automatic power control
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 28 Apr 2009 22:28:18 +0000 (00:28 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 29 Apr 2009 20:48:33 +0000 (16:48 -0400)
commit74faf09ae5fce707cdf42d9000d58cd93e2370e7
treee08f3f9f431c7e43c8c2d6c8049358ed43e56306
parent3c064cc2da3f34220a68653b26febe0e8548f9d6
mac80211: default to automatic power control

In "mac80211: correct wext transmit power handler"
I fixed the wext handler, but forgot to make the default of the
user_power_level -1 (aka "auto"), so that now the transmit power
is always set to 0, causing associations to time out and similar
problems since we're transmitting with very little power. Correct
this by correcting the default user_power_level to -1.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Bisected-by: Niel Lambrechts <niel.lambrechts@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c