summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-04-07 16:01:50 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-04-07 16:01:50 +0000
commitb59d36834af7bf45adf495e76328136d57a6171a (patch)
tree56e42816910f9a8bf8c01c41b707dafebc189bdc /net-wireless/broadcom-sta/files
parentFixed dependency related zeroconf, bug #263939. Removed old versions. (diff)
downloadhistorical-b59d36834af7bf45adf495e76328136d57a6171a.tar.gz
historical-b59d36834af7bf45adf495e76328136d57a6171a.tar.bz2
historical-b59d36834af7bf45adf495e76328136d57a6171a.zip
new patch was released by upstream.
Package-Manager: portage-2.1.6.11/cvs/Linux x86_64
Diffstat (limited to 'net-wireless/broadcom-sta/files')
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch
new file mode 100644
index 000000000000..4b38375b7ab8
--- /dev/null
+++ b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch
@@ -0,0 +1,20 @@
+diff -Naur broadcom-sta-5.10.79.10.orig/src/wl/sys/wl_iw.c broadcom-sta-5.10.79.10/src/wl/sys/wl_iw.c
+--- broadcom-sta-5.10.79.10.orig/src/wl/sys/wl_iw.c 2009-02-10 06:43:18.000000000 +0900
++++ broadcom-sta-5.10.79.10/src/wl/sys/wl_iw.c 2009-04-08 00:58:26.000000000 +0900
+@@ -1094,7 +1094,6 @@
+ ssid.SSID_len = dtoh32(ssid.SSID_len);
+
+ memcpy(extra, ssid.SSID, ssid.SSID_len);
+- extra[ssid.SSID_len] = '\0';
+
+ dwrq->length = ssid.SSID_len;
+
+@@ -2390,7 +2389,7 @@
+
+ cmd = IWEVPMKIDCAND;
+ pmkcandlist = data;
+- count = pmkcandlist->npmkid_cand;
++ count = ntoh32(pmkcandlist->npmkid_cand);
+ wrqu.data.length = sizeof(struct iw_pmkid_cand);
+ pmkidcand = pmkcandlist->pmkid_cand;
+ while (count) {