From: Solomon Peachy Date: Fri, 25 Oct 2013 22:15:42 +0000 (-0400) Subject: cw1200: Make the "scan failed" message into a warning X-Git-Tag: accepted/tizen/common/20141203.182822~719^2~482^2^2~88 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=809c5255d87580d14ad746f059f73231d94b50a7;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/cw1200/scan.c b/drivers/net/wireless/cw1200/scan.c index 8c017bf..9afcd4c 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");