summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2006-02-09 02:38:54 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-09 02:38:54 +0000
commit08f23753d0eab9c906b0fd43e36f83f66c1352e2 (patch)
treeb5dbc6abddd03fa7d420ff5a362eaf1b35000548
parent3d65e990c5d89673f490997d8744e9f2206bd4b1 (diff)
zd1211: Add ssid patches
-rw-r--r--packages/zd1211/zd1211-r52/zd1205.c.diff10
-rw-r--r--packages/zd1211/zd1211-r52/zdhci.c.diff10
-rw-r--r--packages/zd1211/zd1211_r52.bb7
3 files changed, 25 insertions, 2 deletions
diff --git a/packages/zd1211/zd1211-r52/zd1205.c.diff b/packages/zd1211/zd1211-r52/zd1205.c.diff
new file mode 100644
index 0000000000..946df139df
--- /dev/null
+++ b/packages/zd1211/zd1211-r52/zd1205.c.diff
@@ -0,0 +1,10 @@
+--- zd1211-driver-r52/src/zd1205.c.orig 2006-02-09 02:45:12.000000000 +0100
++++ zd1211-driver-r52/src/zd1205.c 2006-02-09 02:46:53.000000000 +0100
+@@ -8512,6 +8512,7 @@
+ printk(KERN_ERR "STA_DEAUTHED\n");
+ printk(KERN_ERR "mac addr = %02x:%02x:%02x:%02x:%02x:%02x\n",
+ StaAddr[0], StaAddr[1], StaAddr[2], StaAddr[3], StaAddr[4], StaAddr[5]);
++ memset(&macp->BSSID[0], 0, 6);
+ break;
+
+ default:
diff --git a/packages/zd1211/zd1211-r52/zdhci.c.diff b/packages/zd1211/zd1211-r52/zdhci.c.diff
new file mode 100644
index 0000000000..ad6568685c
--- /dev/null
+++ b/packages/zd1211/zd1211-r52/zdhci.c.diff
@@ -0,0 +1,10 @@
+--- zd1211-driver-r52/src/zdhci.c.orig 2006-02-09 02:47:21.000000000 +0100
++++ zd1211-driver-r52/src/zdhci.c 2006-02-09 02:48:27.000000000 +0100
+@@ -892,6 +892,7 @@
+ //check capability ...
+ if (cap & CAP_PRIVACY) {
+ if (!mPrivacyInvoked)
++ if (!mPrivacyInvoked && !mProbeWithSsid)
+ continue;
+ } else {
+ if (mPrivacyInvoked)
diff --git a/packages/zd1211/zd1211_r52.bb b/packages/zd1211/zd1211_r52.bb
index 504580d1d8..f8d9c78a9a 100644
--- a/packages/zd1211/zd1211_r52.bb
+++ b/packages/zd1211/zd1211_r52.bb
@@ -3,12 +3,15 @@ PRIORITY = "optional"
SECTION = "kernel/modules"
MAINTAINER = "Oyvind Repvik <nail@nslu2-linux.org>"
LICENSE = "GPL"
-PR = "r2"
+PR = "r3"
RDEPENDS = "wireless-tools"
SRC_URI = "http://zd1211.ath.cx/download/zd1211-driver-${PV}.tgz \
file://makefile.patch;patch=1 \
- file://firmware.patch;patch=1"
+ file://firmware.patch;patch=1 \
+ file://zd1205.c.diff;patch=1 \
+ file://zdhci.c.diff;patch=1 \
+ "
S = "${WORKDIR}/zd1211-driver-${PV}"