iwlwifi: dbg: use helper to check if debug type is set
authorSara Sharon <sara.sharon@intel.com>
Mon, 30 Jul 2018 06:43:24 +0000 (09:43 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sun, 11 Nov 2018 09:06:21 +0000 (11:06 +0200)
commite488e593a79f4238156d2c0f5cbba2fd6457344f
treed47e8e6f82965de83b03fe220a73a654880dc8dd
parentdc1aca22f8f38b7e2ad7b118db87404d11e68771
iwlwifi: dbg: use helper to check if debug type is set

This enables to incorporate more logic in one place.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/fw/dbg.h