Skip to content

Commit fb23d86

Browse files
rmileckilinvjw
authored andcommitted
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>
1 parent 0019a2c commit fb23d86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/b43/phy_n.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3093,7 +3093,7 @@ static int b43_nphy_cal_tx_iq_lo(struct b43_wldev *dev,
30933093
int freq;
30943094
bool avoid = false;
30953095
u8 length;
3096-
u16 tmp, core, type, count, max, numb, last, cmd;
3096+
u16 tmp, core, type, count, max, numb, last = 0, cmd;
30973097
const u16 *table;
30983098
bool phy6or5x;
30993099

0 commit comments

Comments
 (0)