Commit 40e38c8d authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Johannes Berg
Browse files

wifi: mac80211: feed the link_id to cfg80211_ch_switch_started_notify

parent 05050a2b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1981,8 +1981,9 @@ ieee80211_sta_process_chanswitch(struct ieee80211_link_data *link,
					  IEEE80211_QUEUE_STOP_REASON_CSA);
	mutex_unlock(&local->mtx);

	cfg80211_ch_switch_started_notify(sdata->dev, &csa_ie.chandef, 0,
					  csa_ie.count, csa_ie.mode, 0);
	cfg80211_ch_switch_started_notify(sdata->dev, &csa_ie.chandef,
					  link->link_id, csa_ie.count,
					  csa_ie.mode, 0);

	if (local->ops->channel_switch) {
		/* use driver's channel switch callback */