mwifiex: Increase priority of firmware download message
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 31 Dec 2014 10:36:44 +0000 (02:36 -0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Jan 2015 19:20:22 +0000 (21:20 +0200)
When driver is loaded, it is important to know if FW was already
active or it is freshly downloaded. This patch increases the
priority of these messages.

Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mwifiex/pcie.c
drivers/net/wireless/mwifiex/sdio.c
drivers/net/wireless/mwifiex/usb.c

index 10e4a93..a460b0e 100644 (file)
@@ -1952,8 +1952,8 @@ static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter,
                offset += txlen;
        } while (true);
 
-       dev_dbg(adapter->dev, "info:\nFW download over, size %d bytes\n",
-               offset);
+       dev_notice(adapter->dev,
+                  "info: FW download over, size %d bytes\n", offset);
 
        ret = 0;
 
index 4e8aedd..a70f103 100644 (file)
@@ -986,8 +986,8 @@ static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter,
                offset += txlen;
        } while (true);
 
-       dev_dbg(adapter->dev, "info: FW download over, size %d bytes\n",
-               offset);
+       dev_notice(adapter->dev,
+                  "info: FW download over, size %d bytes\n", offset);
 
        ret = 0;
 done:
index 199b43f..6c62995 100644 (file)
@@ -930,7 +930,8 @@ static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter,
        } while ((dnld_cmd != FW_HAS_LAST_BLOCK) && retries);
 
 cleanup:
-       dev_dbg(adapter->dev, "%s: %d bytes downloaded\n", __func__, tlen);
+       dev_notice(adapter->dev,
+                  "info: FW download over, size %d bytes\n", tlen);
 
        kfree(recv_buff);
        kfree(fwdata);