Skip to contentSkip to conversation

brcmsmac: add copyright information for Canonical

PATCH New Arend van Spriel 1 participant 2 messages Jan 2, 2013 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 brcmsmac: add copyright information for Canonical

Patches from Canonical involved the introduction of new source files debug.[ch]. That coincided with other patches from Broadcom introducing the same files.

---
Hi John,

Not really a bug fix, but giving credit where it is due.

Gr. AvS

---
 drivers/net/wireless/brcm80211/brcmsmac/debug.h |    1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/brcm80211/brcmsmac/debug.h +1 -0
index 796836b..822781c 100644
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2012 Broadcom Corporation
+ * Copyright (c) 2012 Canonical Ltd.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 2/2 brcmfmac: fix parsing rsn ie for ap mode.

From: Hante Meuleman <[email protected]>

RSN IEs got incorrectly parsed and therefore ap mode using WPA2 security was not working.

---
 drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c +3 -2
index 1261a9b..75464ad 100644
@@ -3091,10 +3091,11 @@ brcmf_configure_wpaie(struct net_device *ndev, struct brcmf_vs_tlv *wpa_ie,
 
 	len = wpa_ie->len + TLV_HDR_LEN;
 	data = (u8 *)wpa_ie;
-	offset = 0;
+	offset = TLV_HDR_LEN;
 	if (!is_rsn_ie)
 		offset += VS_IE_FIXED_HDR_LEN;
-	offset += WPA_IE_VERSION_LEN;
+	else
+		offset += WPA_IE_VERSION_LEN;
 
 	/* check for multicast cipher suite */
 	if (offset + WPA_IE_MIN_OUI_LEN > len) {
Signature · 1 line
1.7.10.4