OSDN Git Service

wifi: iwlwifi: mvm: remove chanctx WARN_ON
authorJohannes Berg <johannes.berg@intel.com>
Wed, 29 Mar 2023 07:05:26 +0000 (10:05 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Mar 2023 10:08:41 +0000 (12:08 +0200)
commit3aff89d0b392c9bdf8a3297f8ac0cb22e398f5b3
treee182f1124f6ec5ece89155e6b1ab92848add3151
parent8930ed56734d2975f954e0447e65472c142aa88b
wifi: iwlwifi: mvm: remove chanctx WARN_ON

During link switching there might be a link that's marked
active but has no chanctx assigned (so it's not active from
our driver's POV), skip such links in power recalculation
without any warning.

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.c629090bd5d2.If7a680d5e349d454f2122f936c21522b9528a55f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/power.c