[PATCH] libertas: fix mixed-case abuse in cmd_ds_802_11_ad_hoc_start
authorDan Williams <dcbw@redhat.com>
Thu, 2 Aug 2007 15:18:40 +0000 (11:18 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:42 +0000 (16:49 -0700)
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/hostcmd.h
drivers/net/wireless/libertas/join.c

index 6b5e58c88c4e8777b97d26fc2e4f32a7ee653d3f..23871c0f882a854f6953c4afb53ecc4b24bb838a 100644 (file)
@@ -439,7 +439,7 @@ struct cmd_ds_802_11_rate_adapt_rateset {
 };
 
 struct cmd_ds_802_11_ad_hoc_start {
-       u8 SSID[IW_ESSID_MAX_SIZE];
+       u8 ssid[IW_ESSID_MAX_SIZE];
        u8 bsstype;
        __le16 beaconperiod;
        u8 dtimperiod;
index 526b0b9db944c36205706809746f65b0556576d4..db467e7876f2977d04d97df06fc2649f0b761e48 100644 (file)
@@ -479,8 +479,8 @@ int libertas_cmd_80211_ad_hoc_start(wlan_private * priv,
         *   and operational rates.
         */
 
-       memset(adhs->SSID, 0, IW_ESSID_MAX_SIZE);
-       memcpy(adhs->SSID, assoc_req->ssid, assoc_req->ssid_len);
+       memset(adhs->ssid, 0, IW_ESSID_MAX_SIZE);
+       memcpy(adhs->ssid, assoc_req->ssid, assoc_req->ssid_len);
 
        lbs_deb_join("ADHOC_S_CMD: SSID '%s', ssid length %u\n",
                     escape_essid(assoc_req->ssid, assoc_req->ssid_len),