Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

wifi: iwlwifi: fix system commands group ordering

The commands should be sorted inside the group definition.
Fix the ordering so we won't get following warning:
WARN_ON(iwl_cmd_groups_verify_sorted(trans_cfg))

Link: https://lore.kernel.org/regressions/2fa930bb-54dd-4942-a88d-05a47c8e9731@gmail.com/
Link: https://lore.kernel.org/linux-wireless/CAHk-=wix6kqQ5vHZXjOPpZBfM7mMm9bBZxi2Jh7XnaKCqVf94w@mail.gmail.com/
Fixes: b6e3d1ba4fcf ("wifi: iwlwifi: mvm: implement new firmware API for statistics")
Tested-by: Niklāvs Koļesņikovs <pinkflames.linux@gmail.com>
Tested-by: Damian Tometzki <damian@riscv-rocks.de>
Acked-by: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Miri Korenblit and committed by
Linus Torvalds
e257da57 b57b17e8

+1 -1
+1 -1
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
··· 550 550 HCMD_NAME(RFI_CONFIG_CMD), 551 551 HCMD_NAME(RFI_GET_FREQ_TABLE_CMD), 552 552 HCMD_NAME(SYSTEM_FEATURES_CONTROL_CMD), 553 - HCMD_NAME(RFI_DEACTIVATE_NOTIF), 554 553 HCMD_NAME(SYSTEM_STATISTICS_CMD), 555 554 HCMD_NAME(SYSTEM_STATISTICS_END_NOTIF), 555 + HCMD_NAME(RFI_DEACTIVATE_NOTIF), 556 556 }; 557 557 558 558 /* Please keep this array *SORTED* by hex value.