diff options
author | Andrei Otcheretianski <andrei.otcheretianski@intel.com> | 2020-09-30 19:19:56 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2020-10-01 22:02:27 +0300 |
commit | b4248c08f743b0db989a93b0954b08710e50d6d4 (patch) | |
tree | a4f9ca7aeec0323ce9fc8efba3b92b57e92672b9 /drivers/net/wireless/intel | |
parent | 9422b978355e569c2791b67f78274668102eb750 (diff) | |
download | linux-b4248c08f743b0db989a93b0954b08710e50d6d4.tar.bz2 |
iwlwifi: use correct group for alive notification
Alive notification belongs to LEGACY_GROUP. Fix it.
Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200930191738.b56248653e12.I0a15c61aa1f1b4e91aa83ec5eb082337da4e9547@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c index ccacf1576617..4ea1032d8263 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c @@ -217,7 +217,7 @@ static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait, u32 lmac_error_event_table, umac_error_table; /* we don't use the SKU ID from v5 yet, so handle it as v4 */ - if (iwl_fw_lookup_notif_ver(mvm->fw, LONG_GROUP, + if (iwl_fw_lookup_notif_ver(mvm->fw, LEGACY_GROUP, UCODE_ALIVE_NTFY, 0) == 5 || iwl_rx_packet_payload_len(pkt) == sizeof(struct iwl_alive_ntf_v4)) { struct iwl_alive_ntf_v4 *palive; |