mac80211: adjust roc duration when combining ROCs
authorEliad Peller <eliad@wizery.com>
Wed, 3 Sep 2014 12:25:05 +0000 (15:25 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 5 Sep 2014 11:52:08 +0000 (13:52 +0200)
commit24ecd45e2eb194dcadefeb60a16f4ca751402413
tree1506f7f444c89ad035d4c1ced9347435601f2b14
parenta62a1aed3733d7ec6489adca4c2f69881d78cfd6
mac80211: adjust roc duration when combining ROCs

The new duration (remaining duration after the current
ROC ends) was calculated but not used, making the
optimization worthless.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c