summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271_cmd.h
diff options
context:
space:
mode:
authorLuciano Coelho2010-04-01 10:38:18 +0200
committerJohn W. Linville2010-04-06 22:55:12 +0200
commit1ed95388caf0ae41f905817e39cd7b5093bf8d7f (patch)
treef84e1e50f097640dfb80a0b1449fb1c4b3c9eb11 /drivers/net/wireless/wl12xx/wl1271_cmd.h
parentwl1271: fix sdio driver name in wl1271_sdio_driver (diff)
downloadkernel-qcow2-linux-1ed95388caf0ae41f905817e39cd7b5093bf8d7f.tar.gz
kernel-qcow2-linux-1ed95388caf0ae41f905817e39cd7b5093bf8d7f.tar.xz
kernel-qcow2-linux-1ed95388caf0ae41f905817e39cd7b5093bf8d7f.zip
wl1271: added missing command header in wl1271_cmd_disconnect
The command header was missing in the wl1271_cmd_disconnect structure. It was working fine by sheer luck, because the parameters are not critical and because our wl1271_cmd_send() function was overwriting the rx_config_options with the actual header. This patch adds the header to the command structure. Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Reviewed-by: Juuso Oikarinen <juuso.oikarinen@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.h b/drivers/net/wireless/wl12xx/wl1271_cmd.h
index e1131bc0d15c..d61f3394253f 100644
--- a/drivers/net/wireless/wl12xx/wl1271_cmd.h
+++ b/drivers/net/wireless/wl12xx/wl1271_cmd.h
@@ -518,6 +518,8 @@ enum wl1271_disconnect_type {
};
struct wl1271_cmd_disconnect {
+ struct wl1271_cmd_header header;
+
__le32 rx_config_options;
__le32 rx_filter_options;