On Thu, 2007-11-22 at 11:10 +0800, Zhu Yi wrote: > On Wed, 2007-11-21 at 16:19 +0100, Johannes Berg wrote: > > Yeah. Can you amend the patch to also clear the > > IEEE80211_STA_PRIVACY_INVOKED flag? > > Signed-off-by: Zhu Yi <yi.zhu@xxxxxxxxx> And if you adjust the patch subject now and fill in the description you have my Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > --- > > diff --git a/net/mac80211/ieee80211.c b/net/mac80211/ieee80211.c > index 59350b8..69daf0a 100644 > --- a/net/mac80211/ieee80211.c > +++ b/net/mac80211/ieee80211.c > @@ -357,6 +357,11 @@ static int ieee80211_stop(struct net_device *dev) > cancel_delayed_work(&local->scan_work); > } > flush_workqueue(local->hw.workqueue); > + > + sdata->u.sta.flags &= ~IEEE80211_STA_PRIVACY_INVOKED; > + kfree(sdata->u.sta.extra_ie); > + sdata->u.sta.extra_ie = NULL; > + sdata->u.sta.extra_ie_len = 0; > /* fall through */ > default: > conf.if_id = dev->ifindex; >
Attachment:
signature.asc
Description: This is a digitally signed message part