wl1271: added missing command header in wl1271_cmd_disconnect
authorLuciano Coelho <luciano.coelho@nokia.com>
Thu, 1 Apr 2010 08:38:18 +0000 (11:38 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Apr 2010 20:55:12 +0000 (16:55 -0400)
commit1ed95388caf0ae41f905817e39cd7b5093bf8d7f
treef84e1e50f097640dfb80a0b1449fb1c4b3c9eb11
parentf4b5d8d874b245ec3bf1ed356476e74a346705a2
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>
drivers/net/wireless/wl12xx/wl1271_cmd.h