summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_cmd.h
diff options
context:
space:
mode:
authorJuuso Oikarinen2009-11-02 19:22:13 +0100
committerJohn W. Linville2009-11-02 21:43:36 +0100
commitfa867e7355a1bdcd9bf7d55ebe9296f5b9c4028a (patch)
treede3ce5fe17f153c7303ed0c12df33e67c6c56a99 /drivers/net/wireless/wl12xx/wl1271_cmd.h
parentwl1271: Correct endianness-handling of command status (diff)
downloadkernel-qcow2-linux-fa867e7355a1bdcd9bf7d55ebe9296f5b9c4028a.tar.gz
kernel-qcow2-linux-fa867e7355a1bdcd9bf7d55ebe9296f5b9c4028a.tar.xz
kernel-qcow2-linux-fa867e7355a1bdcd9bf7d55ebe9296f5b9c4028a.zip
wl1271: Generalize command response reading
Responses to firmware commands are read in by the command transmission function, as part of command flow. Previously responses were read in multiple places. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_cmd.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271_cmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.h b/drivers/net/wireless/wl12xx/wl1271_cmd.h
index 174b8209dbf3..9d7061b3c8a0 100644
--- a/drivers/net/wireless/wl12xx/wl1271_cmd.h
+++ b/drivers/net/wireless/wl12xx/wl1271_cmd.h
@@ -29,7 +29,8 @@
struct acx_header;
-int wl1271_cmd_send(struct wl1271 *wl, u16 type, void *buf, size_t buf_len);
+int wl1271_cmd_send(struct wl1271 *wl, u16 id, void *buf, size_t len,
+ size_t res_len);
int wl1271_cmd_join(struct wl1271 *wl);
int wl1271_cmd_test(struct wl1271 *wl, void *buf, size_t buf_len, u8 answer);
int wl1271_cmd_interrogate(struct wl1271 *wl, u16 id, void *buf, size_t len);