Commit ca5b20e6 authored by Amitkumar Karwar's avatar Amitkumar Karwar Committed by Kalle Valo
Browse files

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: default avatarCathy Luo <cluo@marvell.com>
Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent b420166f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;

+2 −2
Original line number Diff line number Diff line
@@ -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:
+2 −1
Original line number Diff line number Diff line
@@ -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);