Page MenuHomeFreeBSD

D48112.diff
No OneTemporary

D48112.diff

diff --git a/sys/dev/rtwn/if_rtwn_rx.c b/sys/dev/rtwn/if_rtwn_rx.c
--- a/sys/dev/rtwn/if_rtwn_rx.c
+++ b/sys/dev/rtwn/if_rtwn_rx.c
@@ -532,7 +532,7 @@
RTWN_ASSERT_LOCKED(sc);
mask_all = R92C_RCR_ACF | R92C_RCR_ADF | R92C_RCR_AMF | R92C_RCR_AAP;
- mask_min = R92C_RCR_APM | R92C_RCR_APPFCS;
+ mask_min = R92C_RCR_APM;
if (sc->bcn_vaps == 0)
mask_min |= R92C_RCR_CBSSID_BCN;
@@ -551,5 +551,12 @@
sc->rcr &= ~mask_min;
sc->rcr |= mask_all;
}
+
+ /*
+ * Add FCS, to work around occasional 4 byte truncation.
+ * See the previous comment above R92C_RCR_APPFCS.
+ */
+ sc->rcr |= R92C_RCR_APPFCS;
+
rtwn_rxfilter_set(sc);
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 5:45 AM (1 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15469346
Default Alt Text
D48112.diff (646 B)

Event Timeline