diff options
| author | Miri Korenblit <[email protected]> | 2024-10-28 11:54:58 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-11-07 13:42:30 +0000 |
| commit | 98ea9d59583685b114a72f3dc3b25e6289de4204 (patch) | |
| tree | fe8a0603fcd94cd9a102c8e7e9ff3e186fc5a50b /drivers/net/wireless/intel/iwlwifi/mvm/d3.c | |
| parent | wifi: iwlwifi: bump minimum API version in BZ/SC to 92 (diff) | |
| download | kernel-98ea9d59583685b114a72f3dc3b25e6289de4204.tar.gz kernel-98ea9d59583685b114a72f3dc3b25e6289de4204.zip | |
wifi: iwlwifi: s/IWL_MVM_INVALID_STA/IWL_INVALID_STA
This is not mvm specific
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://patch.msgid.link/20241028135215.acb45e8c4a78.I58736fd85d82a1fe641e75037b77878854a91e50@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/d3.c')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/d3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/d3.c b/drivers/net/wireless/intel/iwlwifi/mvm/d3.c index a6082150deab..16a9738dcdc9 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/d3.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/d3.c @@ -1306,7 +1306,7 @@ static int __iwl_mvm_suspend(struct ieee80211_hw *hw, goto out_noreset; } - if (mvm_link->ap_sta_id == IWL_MVM_INVALID_STA) { + if (mvm_link->ap_sta_id == IWL_INVALID_STA) { /* if we're not associated, this must be netdetect */ if (!wowlan->nd_config) { ret = 1; @@ -3156,7 +3156,7 @@ iwl_mvm_choose_query_wakeup_reasons(struct iwl_mvm *mvm, /* if FW uses status notification, status shouldn't be NULL here */ if (!d3_data->status) { struct iwl_mvm_vif *mvmvif = iwl_mvm_vif_from_mac80211(vif); - u8 sta_id = mvm->net_detect ? IWL_MVM_INVALID_STA : + u8 sta_id = mvm->net_detect ? IWL_INVALID_STA : mvmvif->deflink.ap_sta_id; /* bug - FW with MLO has status notification */ |
