aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-06-28 16:27:31 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-07-12 10:45:48 -0700
commit68983530eaa27747f4dc14a981d048faeb12a46f (patch)
tree87eacf1067ca6097078b90a35365259e9c058346 /drivers/net
parentd7ade6c71e6004fc2ac327eb13205684da6dcfdf (diff)
downloadkernel_samsung_crespo-68983530eaa27747f4dc14a981d048faeb12a46f.zip
kernel_samsung_crespo-68983530eaa27747f4dc14a981d048faeb12a46f.tar.gz
kernel_samsung_crespo-68983530eaa27747f4dc14a981d048faeb12a46f.tar.bz2
net: wireless: bcmdhd: Return wl_construct_reginfo() call
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/bcmdhd/wl_cfg80211.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/bcmdhd/wl_cfg80211.c b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
index e62f6e5..28c9241 100644
--- a/drivers/net/wireless/bcmdhd/wl_cfg80211.c
+++ b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
@@ -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) {