iwlwifi: change WARN_ON to IWL_WARN in iwl_mac_add_interface
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 30 Sep 2010 14:27:35 +0000 (16:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Oct 2010 17:35:22 +0000 (13:35 -0400)
commit4bd530f3ab51c7d656bca29d927a50e5aa87175e
tree97b979a8e1b5e2d60e4b6ac97fabdfd642a6cfb7
parente32ee80b855914e48b1beb53e13203bc874288d8
iwlwifi: change WARN_ON to IWL_WARN in iwl_mac_add_interface

We can start restarting firmware or RF kill switch can be turned on
during call to iwl_mac_add_interface(). That are normal working
conditions, so do not print call trace, just print simple message
instead.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-core.c