]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix powersave bug and clean up ieee80211_rx_bss_info
authorAlexander Bondar <alexander.bondar@intel.com>
Mon, 3 Jun 2013 14:29:33 +0000 (17:29 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 5 Jun 2013 06:52:47 +0000 (08:52 +0200)
commit10c3f11dd94f8e91f966d384bf1f136952310583
treeb75dca5fc3f09a9e682cafe083a48ba21bf8ddd7
parentbf78063cbffa9fa3d963f79e41b32979c1a6929f
mac80211: fix powersave bug and clean up ieee80211_rx_bss_info

ieee80211_rx_bss_info() deals with dtim_period setting and PS update
when associated. Move all these to another locations cleaning this
function. Also, the current implementation is buggy because when it
calls ieee80211_recalc_ps() bss_conf->dtim_period is notset properly
yet and thus nothing will happen.

Signed-off-by: Alexander Bondar <alexander.bondar@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c