]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] libertas: fix mixed-case abuse in cmd_ds_802_11_ad_hoc_result
authorDan Williams <dcbw@redhat.com>
Thu, 2 Aug 2007 15:18:23 +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 e4fafbfa358dcee1fd68258430ded3dd4d7ae08d..6b5e58c88c4e8777b97d26fc2e4f32a7ee653d3f 100644 (file)
@@ -237,8 +237,8 @@ struct cmd_ds_802_11_associate_rsp {
 };
 
 struct cmd_ds_802_11_ad_hoc_result {
-       u8 PAD[3];
-       u8 BSSID[ETH_ALEN];
+       u8 pad[3];
+       u8 bssid[ETH_ALEN];
 };
 
 struct cmd_ds_802_11_set_wep {
index 2db7fbfcaeb44872d43eedc6bf3f859ae6ad176f..526b0b9db944c36205706809746f65b0556576d4 100644 (file)
@@ -821,7 +821,7 @@ int libertas_ret_80211_ad_hoc_start(wlan_private * priv,
 
        if (command == cmd_ret_802_11_ad_hoc_start) {
                /* 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 */