diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2014-11-07 14:31:36 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2014-11-10 10:20:17 +0100 |
commit | 2f4572930dbd79216294a94e331478513c65df78 (patch) | |
tree | 5e434e727454d1aa5d50ef798912a3553546d2f5 /net/mac80211/mlme.c | |
parent | f8d7552e945d38bd8d2e9c23aebf98042ce12302 (diff) | |
download | op-kernel-dev-2f4572930dbd79216294a94e331478513c65df78.zip op-kernel-dev-2f4572930dbd79216294a94e331478513c65df78.tar.gz |
mac80211: send channel switch started notifications
Send a channel switch notification to userspace when a channel switch
is requested or when we react to a remote CSA.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/mlme.c')
-rw-r--r-- | net/mac80211/mlme.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 213a420..9472500 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -1205,6 +1205,9 @@ ieee80211_sta_process_chanswitch(struct ieee80211_sub_if_data *sdata, IEEE80211_QUEUE_STOP_REASON_CSA); mutex_unlock(&local->mtx); + cfg80211_ch_switch_started_notify(sdata->dev, &csa_ie.chandef, + csa_ie.count); + if (local->ops->channel_switch) { /* use driver's channel switch callback */ drv_channel_switch(local, sdata, &ch_switch); |