Mordechay Goodstein 22a1ee8e1e iwlwifi: return op_mode only in case the failure is from MEI
Currently we always return the op_mode with valid pointer in case
getting NVM failed, while it's only relevant for cases that CSME is the
owner of the nic.

Fix this by checking also who's the owner of the nic.

Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211219132536.b1e96021b616.Id0164855f2dd01ecdecf79b239d6ee5974882245@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2021-12-21 12:38:15 +02:00
..
2021-10-20 12:39:44 +03:00
2021-10-20 12:39:45 +03:00
2021-12-14 20:36:02 +02:00
2021-12-15 16:28:26 +02:00
2021-12-16 10:28:38 +02:00
2021-10-20 12:39:47 +03:00
2020-11-10 09:39:08 +01:00
2021-10-22 10:20:56 -07:00
2021-10-20 12:39:46 +03:00
2021-07-23 10:34:31 +02:00
2021-10-20 12:39:47 +03:00