b43: N-PHY: initialize last var in calibration function
authorRafał Miłecki <zajec5@gmail.com>
Thu, 19 May 2011 23:04:46 +0000 (01:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 26 May 2011 19:43:30 +0000 (15:43 -0400)
Reported-by: Larry Finger <larry.finger@lwfinger.net>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_n.c

index 9ed65157bef554bcbcd1e857e3d80177a9af60bd..05960ddde24ee4fef9eb12801522eb95ea3e4825 100644 (file)
@@ -3093,7 +3093,7 @@ static int b43_nphy_cal_tx_iq_lo(struct b43_wldev *dev,
        int freq;
        bool avoid = false;
        u8 length;
-       u16 tmp, core, type, count, max, numb, last, cmd;
+       u16 tmp, core, type, count, max, numb, last = 0, cmd;
        const u16 *table;
        bool phy6or5x;
 
This page took 0.027822 seconds and 5 git commands to generate.