net: wireless: bcmdhd: Return wl_construct_reginfo() call
authorDmitry Shmidt <dimitrysh@google.com>
Thu, 28 Jun 2012 23:27:31 +0000 (16:27 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Thu, 12 Jul 2012 17:45:48 +0000 (10:45 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c

index e62f6e5849fd229720c394efbb0997ba4bd8e51e..28c92417b519db1596792a8b8e5c71450c3faf02 100644 (file)
@@ -7179,7 +7179,6 @@ s32 wl_update_wiphybands(struct wl_priv *wl)
                }
        }
 
-#if 0
        err = wl_construct_reginfo(wl, bw_cap);
        if (err) {
                WL_ERR(("wl_construct_reginfo() fails err=%d\n", err));
@@ -7188,7 +7187,6 @@ s32 wl_update_wiphybands(struct wl_priv *wl)
                /* Ignore error if "chanspecs" command is not supported */
                err = 0;
        }
-#endif
        for (i = 1; i <= nband && i < sizeof(bandlist)/sizeof(u32); i++) {
                index = -1;
                if (bandlist[i] == WLC_BAND_5G && __wl_band_5ghz_a.n_channels > 0) {