Commit ea8da92d authored by Dan Williams's avatar Dan Williams Committed by David S. Miller

[PATCH] libertas: fix mixed-case abuse in cmd_ds_802_11_ad_hoc_result

Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 492b6da7
...@@ -237,8 +237,8 @@ struct cmd_ds_802_11_associate_rsp { ...@@ -237,8 +237,8 @@ struct cmd_ds_802_11_associate_rsp {
}; };
struct cmd_ds_802_11_ad_hoc_result { struct cmd_ds_802_11_ad_hoc_result {
u8 PAD[3]; u8 pad[3];
u8 BSSID[ETH_ALEN]; u8 bssid[ETH_ALEN];
}; };
struct cmd_ds_802_11_set_wep { struct cmd_ds_802_11_set_wep {
......
...@@ -821,7 +821,7 @@ int libertas_ret_80211_ad_hoc_start(wlan_private * priv, ...@@ -821,7 +821,7 @@ int libertas_ret_80211_ad_hoc_start(wlan_private * priv,
if (command == cmd_ret_802_11_ad_hoc_start) { if (command == cmd_ret_802_11_ad_hoc_start) {
/* Update the created network descriptor with the new BSSID */ /* Update the created network descriptor with the new BSSID */
memcpy(bss->bssid, padhocresult->BSSID, ETH_ALEN); memcpy(bss->bssid, padhocresult->bssid, ETH_ALEN);
} }
/* Set the BSSID from the joined/started descriptor */ /* Set the BSSID from the joined/started descriptor */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment