Commit b44898eb 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_start

Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ea8da92d
...@@ -439,7 +439,7 @@ struct cmd_ds_802_11_rate_adapt_rateset { ...@@ -439,7 +439,7 @@ struct cmd_ds_802_11_rate_adapt_rateset {
}; };
struct cmd_ds_802_11_ad_hoc_start { struct cmd_ds_802_11_ad_hoc_start {
u8 SSID[IW_ESSID_MAX_SIZE]; u8 ssid[IW_ESSID_MAX_SIZE];
u8 bsstype; u8 bsstype;
__le16 beaconperiod; __le16 beaconperiod;
u8 dtimperiod; u8 dtimperiod;
......
...@@ -479,8 +479,8 @@ int libertas_cmd_80211_ad_hoc_start(wlan_private * priv, ...@@ -479,8 +479,8 @@ int libertas_cmd_80211_ad_hoc_start(wlan_private * priv,
* and operational rates. * and operational rates.
*/ */
memset(adhs->SSID, 0, IW_ESSID_MAX_SIZE); memset(adhs->ssid, 0, IW_ESSID_MAX_SIZE);
memcpy(adhs->SSID, assoc_req->ssid, assoc_req->ssid_len); memcpy(adhs->ssid, assoc_req->ssid, assoc_req->ssid_len);
lbs_deb_join("ADHOC_S_CMD: SSID '%s', ssid length %u\n", lbs_deb_join("ADHOC_S_CMD: SSID '%s', ssid length %u\n",
escape_essid(assoc_req->ssid, assoc_req->ssid_len), escape_essid(assoc_req->ssid, assoc_req->ssid_len),
......
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