Skip to content

Commit

Permalink
[PATCH] libertas: fix mixed-case abuse in cmd_ds_802_11_ad_hoc_result
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Dan Williams authored and David S. Miller committed Oct 10, 2007
1 parent 492b6da commit ea8da92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/net/wireless/libertas/hostcmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/libertas/join.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit ea8da92

Please sign in to comment.