mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-25 08:02:32 +00:00
0bf7a71a2a
SVN-Revision: 20448
15 lines
376 B
Diff
15 lines
376 B
Diff
--- a/common.c
|
|
+++ b/common.c
|
|
@@ -4155,6 +4155,11 @@ acx_l_process_data_frame_master(acx_devi
|
|
/* 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);
|