diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2007-10-16 17:29:38 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-10-18 15:46:52 -0400 |
commit | 923403b8074a6db4207b404934d5c821d73c199f (patch) | |
tree | e588556e2f1315f049a008e53fa717d30ab6678e /drivers/net/wireless | |
parent | 4457e1a497736328f01704ff416bc2355c12b975 (diff) |
[PATCH] drivers/net/wireless/b43/main.c: fix an uninitialized variable
Fix an uninitialized variable in drivers/net/wireless/b43/main.c::b43_start().
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Michael Buesch <mb@bu3sch.de>
Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: "John W. Linville" <linville@tuxdriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index c9b0d1aa2063..5f03efdb63a8 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -3494,7 +3494,7 @@ static int b43_start(struct ieee80211_hw *hw) | |||
3494 | struct b43_wl *wl = hw_to_b43_wl(hw); | 3494 | struct b43_wl *wl = hw_to_b43_wl(hw); |
3495 | struct b43_wldev *dev = wl->current_dev; | 3495 | struct b43_wldev *dev = wl->current_dev; |
3496 | int did_init = 0; | 3496 | int did_init = 0; |
3497 | int err; | 3497 | int err = 0; |
3498 | 3498 | ||
3499 | mutex_lock(&wl->mutex); | 3499 | mutex_lock(&wl->mutex); |
3500 | 3500 | ||