Commit ec8b6885 authored by Ilan Peer's avatar Ilan Peer Committed by Johannes Berg

iwlwifi: mvm: Reserve MAC id 0 for managed interfaces

Signed-off-by: default avatarIlan Peer <>
Signed-off-by: default avatarJohannes Berg <>
parent 1e849c93
......@@ -245,6 +245,10 @@ static int iwl_mvm_mac_ctxt_allocate_resources(struct iwl_mvm *mvm,
* that we should share it with another interface.
/* Currently, MAC ID 0 should be used only for the managed vif */
if (vif->type != NL80211_IFTYPE_STATION || vif->p2p)
__clear_bit(0, data.available_mac_ids);
iwl_mvm_mac_iface_iterator, &data);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment