mt76: fix compile error
[openwrt.git] / package / kernel / mt76 / patches / 000-uninitialized.patch
1 --- a/mt7603_mac.c
2 +++ b/mt7603_mac.c
3 @@ -474,7 +474,7 @@
4         bool stbc = false;
5         int n_rates = sta->n_rates;
6         u8 bw, bw_prev, bw_idx = 0;
7 -       u16 val[8];
8 +       u16 val[8] = { 0 };
9         u32 w9 = mt76_rr(dev, addr + 9 * 4);
10         int count;
11         int i;