File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
drivers/net/wireless/intel/iwlwifi Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ enum iwl_datapath_monitor_notif_type {
391
391
392
392
struct iwl_datapath_monitor_notif {
393
393
__le32 type ;
394
- u8 mac_id ;
394
+ u8 link_id ;
395
395
u8 reserved [3 ];
396
396
} __packed ; /* MONITOR_NTF_API_S_VER_1 */
397
397
Original file line number Diff line number Diff line change @@ -208,7 +208,8 @@ static void iwl_mvm_rx_monitor_notif(struct iwl_mvm *mvm,
208
208
if (notif -> type != cpu_to_le32 (IWL_DP_MON_NOTIF_TYPE_EXT_CCA ))
209
209
return ;
210
210
211
- vif = iwl_mvm_get_vif_by_macid (mvm , notif -> mac_id );
211
+ /* FIXME: should fetch the link and not the vif */
212
+ vif = iwl_mvm_get_vif_by_macid (mvm , notif -> link_id );
212
213
if (!vif || vif -> type != NL80211_IFTYPE_STATION )
213
214
return ;
214
215
You can’t perform that action at this time.
0 commit comments