From a6963e51fe812f0ed7a49a35f86acec1076589ae Mon Sep 17 00:00:00 2001 From: matteo Date: Fri, 2 May 2008 18:48:47 +0000 Subject: acx100 fix by nabcore git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11011 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/acx/patches/003-encrypt-broadcast-traffic.diff | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 package/acx/patches/003-encrypt-broadcast-traffic.diff diff --git a/package/acx/patches/003-encrypt-broadcast-traffic.diff b/package/acx/patches/003-encrypt-broadcast-traffic.diff new file mode 100644 index 0000000000..7fd59f2694 --- /dev/null +++ b/package/acx/patches/003-encrypt-broadcast-traffic.diff @@ -0,0 +1,14 @@ +--- acx-20080210/common.c.orig 2008-04-19 17:38:46.000000000 +0100 ++++ acx-20080210/common.c 2008-04-19 17:40:10.000000000 +0100 +@@ -4155,6 +4155,11 @@ + /* To_DS = 0, From_DS = 1 */ + hdr->fc = WF_FC_FROMDSi + WF_FTYPE_DATAi; + ++ /* Do we need to encrypt this? */ ++ if (adev->wep_enabled) { ++ SET_BIT(hdr->fc, WF_FC_ISWEPi); ++ } ++ + txbuf = acx_l_get_txbuf(adev, tx); + if (txbuf) { + len = RXBUF_BYTES_RCVD(adev, rxbuf); -- cgit v1.2.3