[crisos] Release of darwinfox 8.09-4
[openwrt/crisos.git] / package / acx / patches / 003-encrypt-broadcast-traffic.diff
blob7fd59f2694362dc5558e759afa35719eec605363
1 --- acx-20080210/common.c.orig 2008-04-19 17:38:46.000000000 +0100
2 +++ acx-20080210/common.c 2008-04-19 17:40:10.000000000 +0100
3 @@ -4155,6 +4155,11 @@
4 /* To_DS = 0, From_DS = 1 */
5 hdr->fc = WF_FC_FROMDSi + WF_FTYPE_DATAi;
7 + /* Do we need to encrypt this? */
8 + if (adev->wep_enabled) {
9 + SET_BIT(hdr->fc, WF_FC_ISWEPi);
10 + }
12 txbuf = acx_l_get_txbuf(adev, tx);
13 if (txbuf) {
14 len = RXBUF_BYTES_RCVD(adev, rxbuf);