wifi: iwlwifi: remove memory check for LMAC error address
authorMukesh Sisodiya <mukesh.sisodiya@intel.com>
Wed, 16 Aug 2023 08:10:54 +0000 (11:10 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 22 Aug 2023 11:19:25 +0000 (13:19 +0200)
commitd166a5c9775f8cc0b20e3331e238844a3fe57fa1
tree8924b2a380fced7ee0a6369998138e145b4126dc
parentd09d290ae39345fb914163e45ee2b42f8c938f7b
wifi: iwlwifi: remove memory check for LMAC error address

LMAC error table address was checked against UMAC
error table minimum address defined. Because of that,
the LMAC error table was not read, since both addresses
belong to different ranges. As addresses are updated from
FW alive message and should be correct, this check is not
needed.

Still keep the check for address 0 to avoid NULL address read.

Signed-off-by: Mukesh Sisodiya <mukesh.sisodiya@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230816104355.08ab1497904d.I270d4c5bcc23c5ecd0b7db475501032c450852ad@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dump.c