mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 11:03:43 +02:00
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. Signed-off-by: Lior David <liord@codeaurora.org> Signed-off-by: Maya Erez <merez@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
9861bf3b81
commit
5f85c7e702
|
|
@ -986,7 +986,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);
|
||||
|
|
|
|||
|
|
@ -1416,7 +1416,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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user