|
@@ -2465,7 +2465,7 @@ static void b43legacy_put_phy_into_reset(struct b43legacy_wldev *dev)
|
|
static int b43legacy_switch_phymode(struct b43legacy_wl *wl,
|
|
static int b43legacy_switch_phymode(struct b43legacy_wl *wl,
|
|
unsigned int new_mode)
|
|
unsigned int new_mode)
|
|
{
|
|
{
|
|
- struct b43legacy_wldev *up_dev;
|
|
|
|
|
|
+ struct b43legacy_wldev *uninitialized_var(up_dev);
|
|
struct b43legacy_wldev *down_dev;
|
|
struct b43legacy_wldev *down_dev;
|
|
int err;
|
|
int err;
|
|
bool gmode = 0;
|
|
bool gmode = 0;
|