[adm5120] fix support for 2.6.38 kernel
[openwrt.git] / package / acx / patches / 003-encrypt-broadcast-traffic.diff
1 --- a/common.c
2 +++ b/common.c
3 @@ -4155,6 +4155,11 @@ acx_l_process_data_frame_master(acx_devi
4 /* To_DS = 0, From_DS = 1 */
5 hdr->fc = WF_FC_FROMDSi + WF_FTYPE_DATAi;
6
7 + /* Do we need to encrypt this? */
8 + if (adev->wep_enabled) {
9 + SET_BIT(hdr->fc, WF_FC_ISWEPi);
10 + }
11 +
12 txbuf = acx_l_get_txbuf(adev, tx);
13 if (txbuf) {
14 len = RXBUF_BYTES_RCVD(adev, rxbuf);
This page took 0.045507 seconds and 5 git commands to generate.