Tobias Diedrich wrote: > Tobias Diedrich wrote: > > Johannes Berg wrote: > > > On Wed, 2012-05-09 at 12:57 +0200, Tobias Diedrich wrote: > > > > > > > I've bisected a problem with running rt3052-based APs on recent > > > > OpenWRT down to this commit: 3edaf3e61fda3aa9ff8d38445bf92f2bec23bf63 > > > > "mac80211: manage AP netdev carrier state" > > > > > > > > If I revert this commit (and also fix the max_power issue), AP-mode > > > > works fine, but if I leave it in, association to the AP times out. This seems to be the crucial hunk (and it conveniently ermoves a check against NL80211_IFTYPE_AP), if I revert just this it works for me: Index: compat-wireless-2012-04-17/net/mac80211/iface.c =================================================================== --- compat-wireless-2012-04-17.orig/net/mac80211/iface.c 2012-05-09 01:00:39.197975402 +0200 +++ compat-wireless-2012-04-17/net/mac80211/iface.c 2012-05-09 01:02:32.514918371 +0200 @@ -411,8 +407,7 @@ ieee80211_bss_info_change_notify(sdata, changed); if (sdata->vif.type == NL80211_IFTYPE_STATION || - sdata->vif.type == NL80211_IFTYPE_ADHOC || - sdata->vif.type == NL80211_IFTYPE_AP) + sdata->vif.type == NL80211_IFTYPE_ADHOC) netif_carrier_off(dev); else netif_carrier_on(dev); -- Tobias PGP: http://8ef7ddba.uguu.de -- 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