On Fri, 2012-11-16 at 22:48 -0800, Marco Porsch wrote: > @@ -1189,7 +1190,8 @@ int ieee80211_sta_ps_transition(struct ieee80211_sta *sta, bool start) > struct sta_info *sta_inf = container_of(sta, struct sta_info, sta); > bool in_ps; > > - WARN_ON(!(sta_inf->local->hw.flags & IEEE80211_HW_AP_LINK_PS)); > + WARN_ON(!(sta_inf->local->hw.flags & IEEE80211_HW_AP_LINK_PS) && > + !ieee80211_vif_is_mesh(&sta_inf->sdata->vif)); NACK. This is a public function for *driver* use, don't randomly use and modify it. johannes -- 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