From: Eliad Peller Date: Sun, 12 Jan 2014 09:06:37 +0000 (+0200) Subject: mac80211: move roc cookie assignment earlier X-Git-Tag: v3.14-rc3~36^2~27^2^2~2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f617435c3a6fe3f39efb9ae2baa77de2d6c97b8;p=pandora-kernel.git mac80211: move roc cookie assignment earlier ieee80211_start_roc_work() might add a new roc to existing roc, and tell cfg80211 it has already started. However, this might happen before the roc cookie was set, resulting in REMAIN_ON_CHANNEL (started) event with null cookie. Consequently, it can make wpa_supplicant go out of sync. Fix it by setting the roc cookie earlier. Cc: stable@vger.kernel.org Signed-off-by: Eliad Peller Signed-off-by: Johannes Berg --- Reading git-diff-tree failed