Skip to content

Commit

Permalink
mac80211: return if CSA is not handle
Browse files Browse the repository at this point in the history
If channel contexts are enabled, the CSA should not be processed
further. A return is missing here.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  • Loading branch information
Simon Wunderlich authored and jmberg-intel committed Dec 3, 2012
1 parent 5d7fad4 commit 246dc3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/mac80211/mlme.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 246dc3f

Please sign in to comment.