Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9734979 authored by Sujith's avatar Sujith Committed by John W. Linville
Browse files

mac80211: Don't set per-BSS QoS for monitor interfaces



In AP mode, there is no need to notify the driver about QoS
changes for the monitor interface that is created. The warning
in ieee80211_bss_info_change_notify() would be hit otherwise.

Signed-off-by: default avatarSujith <Sujith.Manoharan@atheros.com>
Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 487f0e01
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -803,9 +803,13 @@ void ieee80211_set_wmm_default(struct ieee80211_sub_if_data *sdata)

	/* after reinitialize QoS TX queues setting to default,
	 * disable QoS at all */
	sdata->vif.bss_conf.qos = sdata->vif.type != NL80211_IFTYPE_STATION;

	if (sdata->vif.type != NL80211_IFTYPE_MONITOR) {
		sdata->vif.bss_conf.qos =
			sdata->vif.type != NL80211_IFTYPE_STATION;
		ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_QOS);
	}
}

void ieee80211_sta_def_wmm_params(struct ieee80211_sub_if_data *sdata,
				  const size_t supp_rates_len,