diff options
author | Dan Williams <dcbw@redhat.com> | 2007-08-02 11:18:23 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:49:42 -0400 |
commit | ea8da92d70c4e320c282d4e94138e40e36880be3 (patch) | |
tree | 9955bf16327824808a070f7d849ddcaab27ce278 /drivers/net/wireless/libertas | |
parent | 492b6da7d220b37275efb03710d57215304149fa (diff) |
[PATCH] libertas: fix mixed-case abuse in cmd_ds_802_11_ad_hoc_result
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r-- | drivers/net/wireless/libertas/hostcmd.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/join.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h index e4fafbfa358d..6b5e58c88c4e 100644 --- a/drivers/net/wireless/libertas/hostcmd.h +++ b/drivers/net/wireless/libertas/hostcmd.h | |||
@@ -237,8 +237,8 @@ struct cmd_ds_802_11_associate_rsp { | |||
237 | }; | 237 | }; |
238 | 238 | ||
239 | struct cmd_ds_802_11_ad_hoc_result { | 239 | struct cmd_ds_802_11_ad_hoc_result { |
240 | u8 PAD[3]; | 240 | u8 pad[3]; |
241 | u8 BSSID[ETH_ALEN]; | 241 | u8 bssid[ETH_ALEN]; |
242 | }; | 242 | }; |
243 | 243 | ||
244 | struct cmd_ds_802_11_set_wep { | 244 | struct cmd_ds_802_11_set_wep { |
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c index 2db7fbfcaeb4..526b0b9db944 100644 --- a/drivers/net/wireless/libertas/join.c +++ b/drivers/net/wireless/libertas/join.c | |||
@@ -821,7 +821,7 @@ int libertas_ret_80211_ad_hoc_start(wlan_private * priv, | |||
821 | 821 | ||
822 | if (command == cmd_ret_802_11_ad_hoc_start) { | 822 | if (command == cmd_ret_802_11_ad_hoc_start) { |
823 | /* Update the created network descriptor with the new BSSID */ | 823 | /* Update the created network descriptor with the new BSSID */ |
824 | memcpy(bss->bssid, padhocresult->BSSID, ETH_ALEN); | 824 | memcpy(bss->bssid, padhocresult->bssid, ETH_ALEN); |
825 | } | 825 | } |
826 | 826 | ||
827 | /* Set the BSSID from the joined/started descriptor */ | 827 | /* Set the BSSID from the joined/started descriptor */ |