In commit 47afbaf5af9454a7a1a64591e20cbfcc27ca67a8 Author: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Date: Tue Apr 7 15:22:28 2009 +0200 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@xxxxxxxxxxxxxxxx> Bisected-by: Niel Lambrechts <niel.lambrechts@xxxxxxxxx> --- net/mac80211/main.c | 1 + 1 file changed, 1 insertion(+) --- wireless-testing.orig/net/mac80211/main.c 2009-04-28 23:59:48.000000000 +0200 +++ wireless-testing/net/mac80211/main.c 2009-04-29 00:01:48.000000000 +0200 @@ -763,6 +763,7 @@ struct ieee80211_hw *ieee80211_alloc_hw( local->hw.conf.long_frame_max_tx_count = wiphy->retry_long; local->hw.conf.short_frame_max_tx_count = wiphy->retry_short; local->hw.conf.radio_enabled = true; + local->user_power_level = -1; INIT_LIST_HEAD(&local->interfaces); mutex_init(&local->iflist_mtx); -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html