On Sun, 2008-11-09 at 17:43 +0200, Kalle Valo wrote: > @@ -865,8 +870,14 @@ static void ieee80211_set_disassoc(struct ieee80211_sub_if_data *sdata, > sta_info_destroy(sta); > > local->hw.conf.ht.enabled = false; > - ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_HT); > + config_changed |= IEEE80211_CONF_CHANGE_HT; > + > + if (local->hw.conf.flags & IEEE80211_CONF_PS) { > + local->hw.conf.flags &= ~IEEE80211_CONF_PS; > + config_changed |= IEEE80211_CONF_PS; > + } That latter flag should be CONF_CHANGED_PS. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part