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)
commit785e21a89d77923852869f83ebd2689ec4d5ce54
tree1e5e985e993e2c2cd38f55d3188de35599daa59a
parentbd8c78e78d5011d8111bc2533ee73b13a3bd6c42
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