diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2013-10-26 00:15:42 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-05 20:54:45 +0100 |
commit | 809c5255d87580d14ad746f059f73231d94b50a7 (patch) | |
tree | 9359c4526314a940fffeff4d917e64a345af9dbb /drivers | |
parent | iwl3945: do not print RFKILL message (diff) | |
download | linux-809c5255d87580d14ad746f059f73231d94b50a7.tar.xz linux-809c5255d87580d14ad746f059f73231d94b50a7.zip |
cw1200: Make the "scan failed" message into a warning
The reason that a scan failed for some reason (typically bad
parameters) should be logged even when debugging is turned off.
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/cw1200/scan.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/cw1200/scan.c b/drivers/net/wireless/cw1200/scan.c index 8c017bfd2ffc..9afcd4ce3368 100644 --- a/drivers/net/wireless/cw1200/scan.c +++ b/drivers/net/wireless/cw1200/scan.c @@ -173,8 +173,9 @@ void cw1200_scan_work(struct work_struct *work) cw1200_set_pm(priv, &priv->powersave_mode); if (priv->scan.status < 0) - wiphy_dbg(priv->hw->wiphy, "[SCAN] Scan failed (%d).\n", - priv->scan.status); + wiphy_warn(priv->hw->wiphy, + "[SCAN] Scan failed (%d).\n", + priv->scan.status); else if (priv->scan.req) wiphy_dbg(priv->hw->wiphy, "[SCAN] Scan completed.\n"); |