On Thu, 2012-02-23 at 02:17 +0100, Jakub Kicinski wrote: > Use interface data from sta instead of invalid pointer > to list head in calls to drv_sta_state. Good catch, thanks Reviewed-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > Signed-off-by: Jakub Kicinski <kubakici@xxxxx> > --- > net/mac80211/pm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/net/mac80211/pm.c b/net/mac80211/pm.c > index 2b53a53..ef8eba1 100644 > --- a/net/mac80211/pm.c > +++ b/net/mac80211/pm.c > @@ -102,7 +102,7 @@ int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan) > > state = sta->sta_state; > for (; state > IEEE80211_STA_NOTEXIST; state--) > - WARN_ON(drv_sta_state(local, sdata, sta, > + WARN_ON(drv_sta_state(local, sta->sdata, sta, > state, state - 1)); > } > -- 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