Johannes Berg 0f6b3f597d mac80211: fix double-start of remain-on-channel
When a remain-on-channel item is deleted, we remove it
from the list and then start the next item. However,
if it wasn't actually the first item then calling
ieee80211_start_next_roc() is wrong as it will start
the first item -- even if that was already started.

Fix the two places that do this and add a warning to
prevent the problem from reoccurring.

Reported-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-06-20 20:12:12 +02:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2012-06-20 17:35:22 +02:00
2012-06-20 17:35:22 +02:00
2011-03-31 11:26:23 -03:00
2012-06-20 17:35:22 +02:00
2012-06-18 19:18:53 +02:00
2012-03-13 14:54:16 -04:00
2012-06-20 17:35:22 +02:00
2012-06-20 17:35:22 +02:00