]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 10e4a93d3d5693d82d72df021d6b55dcbf2c6cff..a460b0e6a151addaae1f7e265011a562069f72a0 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 4e8aedd5c9f3d06020a1dfdecc04127b6fca5bd4..a70f103359eab84d20b15b6fc4d077e993e2aa4b 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 199b43f89e0196e2239e5a11e66684ce23715d05..6c62995028e6b0a00978b41e2fb06358d64db24e 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);