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)
commit3d5839b6aa6bbf26c04e885956109d1995d01fe2
treeb6da5b061acdff19e9e639b23c487990c3d0d316
parente943789edbb1f9de71b129d9992489eb79ed341f
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