b43: fix "‘gmode’ may be used uninitialized" warning
[safe/jmp/linux-2.6] / drivers / net / wireless / b43 / main.c
index 7b31a32..c788bad 100644 (file)
@@ -3261,7 +3261,7 @@ static int b43_switch_band(struct b43_wl *wl, struct ieee80211_channel *chan)
        struct b43_wldev *down_dev;
        struct b43_wldev *d;
        int err;
-       bool gmode;
+       bool uninitialized_var(gmode);
        int prev_status;
 
        /* Find a device and PHY which supports the band. */