Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3440f98c authored by Lior David's avatar Lior David Committed by Maya Erez
Browse files

wil6210: change reply_size arg to u16 in wmi_call



Change the type of the argument reply_size from u8 to
u16 in order to support reply sizes > 255 bytes.
The driver already supports u16 reply size in all
other places, this was the only missing change.

Change-Id: I0e9baafdc50d845036e5f2b50c0b55935eb09082
Signed-off-by: default avatarLior David <liord@codeaurora.org>
Signed-off-by: default avatarMaya Erez <merez@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Git-commit: 5f85c7e702d2185d3d553982f916b5ac96ae77a9
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
parent 893875f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1174,7 +1174,7 @@ int wmi_read_hdr(struct wil6210_priv *wil, __le32 ptr,
int wmi_send(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len);
void wmi_recv_cmd(struct wil6210_priv *wil);
int wmi_call(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len,
	     u16 reply_id, void *reply, u8 reply_size, int to_msec);
	     u16 reply_id, void *reply, u16 reply_size, int to_msec);
void wmi_event_worker(struct work_struct *work);
void wmi_event_flush(struct wil6210_priv *wil);
int wmi_set_ssid(struct wil6210_vif *vif, u8 ssid_len, const void *ssid);
+1 −1
Original line number Diff line number Diff line
@@ -1531,7 +1531,7 @@ void wmi_recv_cmd(struct wil6210_priv *wil)
}

int wmi_call(struct wil6210_priv *wil, u16 cmdid, u8 mid, void *buf, u16 len,
	     u16 reply_id, void *reply, u8 reply_size, int to_msec)
	     u16 reply_id, void *reply, u16 reply_size, int to_msec)
{
	int rc;
	unsigned long remain;