mwifiex: Increase priority of firmware download message

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>
This commit is contained in:
Amitkumar Karwar 2014-12-31 02:36:44 -08:00 committed by Kalle Valo
parent b420166fa8
commit ca5b20e6b4
3 changed files with 6 additions and 5 deletions
drivers/net/wireless/mwifiex

View 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;

View 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:

View 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);