OSDN Git Service

iwlwifi: mvm: move umac_error_event_table validity check to where it's set
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 2 Oct 2017 12:44:20 +0000 (15:44 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 18 Oct 2017 10:00:44 +0000 (13:00 +0300)
commitfb5b28469d2a5be83aae0c754a9a69bb37fec6ff
treedbd2d30454a30bafe3ec06e335571e5ea26a8df2
parent0e1be40a45d767a07c1fb50ebfba273368f57484
iwlwifi: mvm: move umac_error_event_table validity check to where it's set

There's no point in checking the validity of the
umac_error_event_table pointer every time we generate a dump.  It's
cleaner to do so when we read the value, namely when we receive the
alive data.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/utils.c