aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-08-02 11:18:40 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:49:42 -0400
commitb44898eb2c917cd397a0d8654f1c249dd3cdc67e (patch)
treefa82dc18daf8aec9b5268ff5fcc80a22e3175ccc /drivers/net
parentea8da92d70c4e320c282d4e94138e40e36880be3 (diff)
[PATCH] libertas: fix mixed-case abuse in cmd_ds_802_11_ad_hoc_start
Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/libertas/hostcmd.h2
-rw-r--r--drivers/net/wireless/libertas/join.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/libertas/hostcmd.h b/drivers/net/wireless/libertas/hostcmd.h
index 6b5e58c88c4e..23871c0f882a 100644
--- a/drivers/net/wireless/libertas/hostcmd.h
+++ b/drivers/net/wireless/libertas/hostcmd.h
@@ -439,7 +439,7 @@ struct cmd_ds_802_11_rate_adapt_rateset {
439}; 439};
440 440
441struct cmd_ds_802_11_ad_hoc_start { 441struct cmd_ds_802_11_ad_hoc_start {
442 u8 SSID[IW_ESSID_MAX_SIZE]; 442 u8 ssid[IW_ESSID_MAX_SIZE];
443 u8 bsstype; 443 u8 bsstype;
444 __le16 beaconperiod; 444 __le16 beaconperiod;
445 u8 dtimperiod; 445 u8 dtimperiod;
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c
index 526b0b9db944..db467e7876f2 100644
--- a/drivers/net/wireless/libertas/join.c
+++ b/drivers/net/wireless/libertas/join.c
@@ -479,8 +479,8 @@ int libertas_cmd_80211_ad_hoc_start(wlan_private * priv,
479 * and operational rates. 479 * and operational rates.
480 */ 480 */
481 481
482 memset(adhs->SSID, 0, IW_ESSID_MAX_SIZE); 482 memset(adhs->ssid, 0, IW_ESSID_MAX_SIZE);
483 memcpy(adhs->SSID, assoc_req->ssid, assoc_req->ssid_len); 483 memcpy(adhs->ssid, assoc_req->ssid, assoc_req->ssid_len);
484 484
485 lbs_deb_join("ADHOC_S_CMD: SSID '%s', ssid length %u\n", 485 lbs_deb_join("ADHOC_S_CMD: SSID '%s', ssid length %u\n",
486 escape_essid(assoc_req->ssid, assoc_req->ssid_len), 486 escape_essid(assoc_req->ssid, assoc_req->ssid_len),