]> 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)
commit46156647b5b1c71986f7b939a8e18e548329c836
tree1e5e985e993e2c2cd38f55d3188de35599daa59a
parentb9f7dee93fbd4794afcb469808e16214b36757a0
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