]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Call drv_set_tim only if there is a change
authorIlan Peer <ilan.peer@intel.com>
Tue, 5 Mar 2013 13:27:20 +0000 (15:27 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 7 Mar 2013 13:33:22 +0000 (14:33 +0100)
commitc5311528284eaa65e9247a7b5af474ce6919b3e9
treeb6da5b061acdff19e9e639b23c487990c3d0d316
parent58e16bc29c7a34b532e612409f15b24f67b778f1
mac80211: Call drv_set_tim only if there is a change

It is possible that sta_info_recalc_tim() is called consecutively
without changing the station's tim bit. In such cases there is no
need to call the driver's set_tim() callback.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/sta_info.c