Author: blogic Date: 2016-03-21 21:42:56 +0100 (Mon, 21 Mar 2016) New Revision: 49065
Added: trunk/package/kernel/mt76/patches/ trunk/package/kernel/mt76/patches/000-uninitialized.patch Log: mt76: fix compile error gcc complained about uninitialized variables Signed-off-by: John Crispin <[email protected]> Added: trunk/package/kernel/mt76/patches/000-uninitialized.patch =================================================================== --- trunk/package/kernel/mt76/patches/000-uninitialized.patch (rev 0) +++ trunk/package/kernel/mt76/patches/000-uninitialized.patch 2016-03-21 20:42:56 UTC (rev 49065) @@ -0,0 +1,11 @@ +--- a/mt7603_mac.c ++++ b/mt7603_mac.c +@@ -474,7 +474,7 @@ + bool stbc = false; + int n_rates = sta->n_rates; + u8 bw, bw_prev, bw_idx = 0; +- u16 val[8]; ++ u16 val[8] = { 0 }; + u32 w9 = mt76_rr(dev, addr + 9 * 4); + int count; + int i; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
