iwlwifi: dbg: treat non active regions as unsupported regions
authorRotem Saado <rotem.saado@intel.com>
Sun, 17 Oct 2021 13:59:53 +0000 (16:59 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 22 Oct 2021 07:54:18 +0000 (10:54 +0300)
commit72c43f7d6562cec138536e7e6d0939692ff74482
tree3c4d931baef04ce24714464da593134d1a01ac40
parent1f578d4f2d52f64133c4b53346451b1116242e3d
iwlwifi: dbg: treat non active regions as unsupported regions

If a region is not active, it means that it was not defined as a region
TLV in the FW image.  We should treat them as unsupported in that case.

This saves operational driver memory and run time when collecting debug
data by skipping unsupported regions.

Signed-off-by: Rotem Saado <rotem.saado@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211017165728.8025bd29d86a.I3ecb4e273bf714e426d82217e0590264cb763419@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c