diff options
author | Matteo Croce <rootkit85@yahoo.it> | 2008-05-02 18:48:47 +0000 |
---|---|---|
committer | Matteo Croce <rootkit85@yahoo.it> | 2008-05-02 18:48:47 +0000 |
commit | fe5b22046748c8795afc6c86d9733af6e3087017 (patch) | |
tree | 3d5a102efd61214e38c9af694bca00599701af2e /package | |
parent | e654a285752bf090a3842da854873f356e93dbcd (diff) | |
download | mtk-20170518-fe5b22046748c8795afc6c86d9733af6e3087017.zip mtk-20170518-fe5b22046748c8795afc6c86d9733af6e3087017.tar.gz mtk-20170518-fe5b22046748c8795afc6c86d9733af6e3087017.tar.bz2 |
acx100 fix by nabcore
SVN-Revision: 11011
Diffstat (limited to 'package')
-rw-r--r-- | package/acx/patches/003-encrypt-broadcast-traffic.diff | 14 |
1 files changed, 14 insertions, 0 deletions
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 0000000..7fd59f2 --- /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); |