From: Simon Wunderlich Date: Fri, 30 Nov 2012 18:17:27 +0000 (+0100) Subject: mac80211: return if CSA is not handle X-Git-Tag: v3.8-rc1~139^2~17^2^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=246dc3fddf4a01bb47dd56215a48dd2b270520db;p=platform%2Fkernel%2Flinux-exynos.git mac80211: return if CSA is not handle If channel contexts are enabled, the CSA should not be processed further. A return is missing here. Signed-off-by: Simon Wunderlich Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 481d503..0955630 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -789,6 +789,7 @@ void ieee80211_sta_process_chanswitch(struct ieee80211_sub_if_data *sdata, "not handling channel switch with channel contexts\n"); ieee80211_queue_work(&sdata->local->hw, &ifmgd->csa_connection_drop_work); + return; } mutex_lock(&sdata->local->chanctx_mtx);