madwifi: add an optional threshold for low-rssi disconnection. This can be useful...
[openwrt.git] / package / madwifi / patches / 126-rxerr_frames.patch
1 --- a/ath/if_ath.c
2 +++ b/ath/if_ath.c
3 @@ -6474,8 +6474,9 @@
4 /*
5 * Reject error frames if we have no vaps that
6 * are operating in monitor mode.
7 + * Reject empty frames as well
8 */
9 - if (sc->sc_nmonvaps == 0)
10 + if ((sc->sc_nmonvaps == 0) || (rs->rs_datalen == 0))
11 goto rx_next;
12 }
13 rx_accept:
This page took 0.043608 seconds and 5 git commands to generate.