mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
wifi: iwlwifi: mld: remove support from of alive notif version 6
The last FW API that supports version 6 is 97. Since this API is no longer supported on any device that loads iwlmld, we can remove support of it. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250915113137.4923c981b0bf.Iff598c6d109fdbf0d5a5bab59d53485478ecc125@changeid
This commit is contained in:
@@ -124,7 +124,6 @@ static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait,
|
||||
u16 status;
|
||||
|
||||
switch (version) {
|
||||
case 6:
|
||||
case 7:
|
||||
expected_sz = sizeof(struct iwl_alive_ntf_v7);
|
||||
break;
|
||||
@@ -188,9 +187,8 @@ static bool iwl_alive_fn(struct iwl_notif_wait_data *notif_wait,
|
||||
le32_to_cpu(umac->umac_major),
|
||||
le32_to_cpu(umac->umac_minor));
|
||||
|
||||
if (version >= 7)
|
||||
IWL_DEBUG_FW(mld, "FW alive flags 0x%x\n",
|
||||
le16_to_cpu(palive->flags));
|
||||
IWL_DEBUG_FW(mld, "FW alive flags 0x%x\n",
|
||||
le16_to_cpu(palive->flags));
|
||||
|
||||
if (version >= 8)
|
||||
IWL_DEBUG_FW(mld, "platform_id 0x%llx\n",
|
||||
|
||||
Reference in New Issue
Block a user