diff options
author | Eliad Peller <eliad@wizery.com> | 2014-09-03 15:25:06 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-09-05 13:52:09 +0200 |
commit | eaa336b0f5087addb32217e6a70845ed57249f76 (patch) | |
tree | ad4c34139f02db933f5a061058bba0b9c96a9825 /net/wireless/nl80211.c | |
parent | 24ecd45e2eb194dcadefeb60a16f4ca751402413 (diff) |
mac80211: combine roc with the "next roc" if possible
If the remaining time in the current roc is not long
enough, mac80211 adds the new roc right after it
(if they have similar params).
However, in case of multiple rocs, the "next roc"
is not considered, resulting in multiple rocs,
each one with its own duration.
Refactor the code a bit and consider the next roc,
so a single max roc will be used instead of
multiple rocs (which might last much longer).
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>
Diffstat (limited to 'net/wireless/nl80211.c')
0 files changed, 0 insertions, 0 deletions