[package] iwinfo: populate tx power offsets for most ubnt devices, add NSM2/5 and...
[openwrt.git] / package / madwifi / patches / 111-minstrel_crash.patch
1 --- a/ath_rate/minstrel/minstrel.c
2 +++ b/ath_rate/minstrel/minstrel.c
3 @@ -393,6 +393,9 @@ ath_rate_get_mrr(struct ath_softc *sc, s
4 struct minstrel_node *sn = ATH_NODE_MINSTREL(an);
5 int rc1, rc2, rc3; /* Index into the rate table, so for example, it is 0..11 */
6
7 + if (sn->num_rates <= 0)
8 + return;
9 +
10 if (sn->is_sampling) {
11 sn->is_sampling = 0;
12 if (sn->rs_sample_rate_slower)
This page took 0.059079 seconds and 5 git commands to generate.