Commit 14d00d76 authored by Miri Korenblit's avatar Miri Korenblit Committed by Johannes Berg
Browse files

wifi: iwlwifi: rename iwl_datapath_monitor_notif::mac_id to link_id

parent c0cf30bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ enum iwl_datapath_monitor_notif_type {

struct iwl_datapath_monitor_notif {
	__le32 type;
	u8 mac_id;
	u8 link_id;
	u8 reserved[3];
} __packed; /* MONITOR_NTF_API_S_VER_1 */

+2 −1
Original line number Diff line number Diff line
@@ -208,7 +208,8 @@ static void iwl_mvm_rx_monitor_notif(struct iwl_mvm *mvm,
	if (notif->type != cpu_to_le32(IWL_DP_MON_NOTIF_TYPE_EXT_CCA))
		return;

	vif = iwl_mvm_get_vif_by_macid(mvm, notif->mac_id);
	/* FIXME: should fetch the link and not the vif */
	vif = iwl_mvm_get_vif_by_macid(mvm, notif->link_id);
	if (!vif || vif->type != NL80211_IFTYPE_STATION)
		return;