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>
This commit is contained in:
Sara Sharon 2018-07-30 09:43:24 +03:00 • committed by Luca Coelho
commit e488e593a7
2 changed files with 24 additions and 19 deletions