From: Johannes Berg Date: Wed, 20 Jun 2012 18:11:33 +0000 (+0200) Subject: mac80211: fix double-start of remain-on-channel X-Git-Tag: v3.6-rc1~125^2~57^2~248^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6b3f597daab2254614e2773e322e73fb1b6f4b;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed