aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/hostcmd.h
diff options
context:
space:
mode:
authorHolger Schurig <hs4233@mail.mn-solutions.de>2008-03-26 04:58:32 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-01 17:13:16 -0400
commit2af9f039a17c0acd9e5b21d10058688687bad86d (patch)
tree473a0dd553b60d1886cfbb40b40a570d78c3d839 /drivers/net/wireless/libertas/hostcmd.h
parent717ddc0ebdd00c233fcb1ae9a243e69f301cde24 (diff)
libertas: convert CMD_802_11_MAC_ADDRESS to a direct command
* directly call lbs_cmd_with_response() * only overwrite priv->current_addr once the firmware call succeeded Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Acked-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/hostcmd.h')
-rw-r--r--drivers/net/wireless/libertas/hostcmd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index b8e372007bb9..e56d0049f5fd 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -427,6 +427,8 @@ struct cmd_ds_802_11_rssi_rsp {
427}; 427};
428 428
429struct cmd_ds_802_11_mac_address { 429struct cmd_ds_802_11_mac_address {
430 struct cmd_header hdr;
431
430 __le16 action; 432 __le16 action;
431 u8 macadd[ETH_ALEN]; 433 u8 macadd[ETH_ALEN];
432}; 434};
@@ -708,7 +710,6 @@ struct cmd_ds_command {
708 struct cmd_ds_802_11_rssi rssi; 710 struct cmd_ds_802_11_rssi rssi;
709 struct cmd_ds_802_11_rssi_rsp rssirsp; 711 struct cmd_ds_802_11_rssi_rsp rssirsp;
710 struct cmd_ds_802_11_disassociate dassociate; 712 struct cmd_ds_802_11_disassociate dassociate;
711 struct cmd_ds_802_11_mac_address macadd;
712 struct cmd_ds_mac_reg_access macreg; 713 struct cmd_ds_mac_reg_access macreg;
713 struct cmd_ds_bbp_reg_access bbpreg; 714 struct cmd_ds_bbp_reg_access bbpreg;
714 struct cmd_ds_rf_reg_access rfreg; 715 struct cmd_ds_rf_reg_access rfreg;