wifi: iwlwifi: mvm: rs-fw: don't crash on missing channel
authorJohannes Berg <johannes.berg@intel.com>
Wed, 29 Mar 2023 07:05:11 +0000 (10:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Mar 2023 10:08:37 +0000 (12:08 +0200)
commit42564a74507c450a0edc93f4f06b5537967283fe
treec8a2cf0fa252eac2ab0fd50ee638106572b22cb0
parentb7e39d565fe1d32c6d8253340d577cc53fad03d8
wifi: iwlwifi: mvm: rs-fw: don't crash on missing channel

This is more of a workaround, with MLO we can get here with
the deflink not assigned. It's not critical right now that
we have this right, so WARN_ON_ONCE() and don't crash until
we can fix this area of the code.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230329100039.2b0d31bdb60b.I39d23c76eec16ac49f6ae3a6d5f7652041bde855@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c