diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2009-11-02 21:22:13 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-02 23:43:36 +0300 |
commit | fa867e7355a1bdcd9bf7d55ebe9296f5b9c4028a (patch) | |
tree | de3ce5fe17f153c7303ed0c12df33e67c6c56a99 /drivers/net/wireless/wl12xx/wl1271_cmd.h | |
parent | ad150e966e987edcf737e1871d9e44a30d1aa58d (diff) | |
download | linux-fa867e7355a1bdcd9bf7d55ebe9296f5b9c4028a.tar.xz |
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.h | 3 |
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); |