summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-05-20 01:04:46 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-05-26 15:43:30 -0400
commitfb23d86382a088d50020fd05024d40af5b00f885 (patch)
tree2afbfeee653714d38169478cec133d3dbfe6aa6e /drivers
parent0019a2c9277bf6d083032a5a9857249e75407a8c (diff)
downloadlinux-stable-fb23d86382a088d50020fd05024d40af5b00f885.tar.gz
linux-stable-fb23d86382a088d50020fd05024d40af5b00f885.tar.bz2
linux-stable-fb23d86382a088d50020fd05024d40af5b00f885.zip
b43: N-PHY: initialize last var in calibration function
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/b43/phy_n.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index 9ed65157bef5..05960ddde24e 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -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;