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)
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

Simple merge