fix spurious ifxmips u-boot build errors
[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 @@
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.049108 seconds and 5 git commands to generate.