]> 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)
commitbecbdeebb67f6146fee38740d8ac24402c05873d
treeb75dca5fc3f09a9e682cafe083a48ba21bf8ddd7
parent54281e4462a01e2b677a2b8ef9daf31d252b34ff
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