]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: use bss_conf->dtim_period instead of conf.ps_dtim_period
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Sep 2014 12:25:04 +0000 (15:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 5 Sep 2014 11:41:08 +0000 (13:41 +0200)
commit02224fe92d9b266724cb880798847e852564e6c3
tree1e5e985e993e2c2cd38f55d3188de35599daa59a
parentd9c37f3d4bb4782c2f0b6bbe0ff8f1692fdd3f58
mac80211: use bss_conf->dtim_period instead of conf.ps_dtim_period

sta_set_sinfo is obviously takes data for specific station.
This specific station is attached to a specific virtual
interface. Hence we should use the dtim_period from this
virtual interface rather than the system wide dtim_period.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c