On Sun, 2008-01-27 at 16:18 +0200, Tomas Winkler wrote: > Only BSS_CHANGED_ASSOC was set in the 'changed' bitmask. Assignment to > bss_conf.assoc was absent. > This patch assign value to bss_conf.assoc according the association state. Yup, looks like I missed that, thanks. > Signed-off-by: Tomas Winkler <tomas.winkler@xxxxxxxxx> Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> > --- > net/mac80211/ieee80211_sta.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c > index d252d09..2c4692b 100644 > --- a/net/mac80211/ieee80211_sta.c > +++ b/net/mac80211/ieee80211_sta.c > @@ -492,6 +492,7 @@ static void ieee80211_set_associated(struct net_device *dev, > ifsta->last_probe = jiffies; > ieee80211_led_assoc(local, assoc); > > + sdata->bss_conf.assoc = assoc; > ieee80211_bss_info_change_notify(sdata, changed); > } >
Attachment:
signature.asc
Description: This is a digitally signed message part