mac80211: add recalc PS in ieee80211_reconfig()

Driver should be instructed to enter PS AFTER
reconfiguring ASSOCIATED (in STA case) using ieee80211_bss_info_change_notify
same as it's being done in ieee80211_set_associated()

Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Eyal Shapira 2011-11-09 12:29:06 +02:00 committed by John W. Linville
parent db98c829b7
commit 8e1b23b9ed

View file

@ -1093,6 +1093,8 @@ int ieee80211_reconfig(struct ieee80211_local *local)
}
}
ieee80211_recalc_ps(local, -1);
/*
* Clear the WLAN_STA_BLOCK_BA flag so new aggregation
* sessions can be established after a resume.