iwlwifi: use dev_printk instead of dev_dbg for debug logs
authorLiad Kaufman <liad.kaufman@intel.com>
Thu, 8 May 2014 12:24:54 +0000 (15:24 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 13 May 2014 10:52:22 +0000 (13:52 +0300)
commit7f715626a9ddfa7df13f076f59fc62e3c99066cf
tree7c2c8eafc37975311f91aa21cb299030bf94af92
parenta10229271946731959b2269370d0492d88cfab23
iwlwifi: use dev_printk instead of dev_dbg for debug logs

When calling IWL_DEBUG_*() dev_dbg() is currently used, and this
could result in the log being ignored no matter the internal
loglevel, since dev_dbg() may get turned on or off based on the
dynamic debug mechanism.

Replace the dev_dbg() with dev_printk() since dynamic printing
is pointless as we use our own debug level mechanism and there
is just a single dev_dbg() call in the code.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
[rephrase commit message a bit]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-debug.c