diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2012-06-28 10:25:25 -0700 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2012-06-28 10:42:19 -0700 |
commit | 38fac5b1e2604aaf3ffae7ebadf219eb567cb61f (patch) | |
tree | 9595f768180c59822bd09fc093515625f279753d | |
parent | 562490d2472d7a2074f52c98e08535abdf555393 (diff) | |
download | kernel_samsung_crespo-38fac5b1e2604aaf3ffae7ebadf219eb567cb61f.zip kernel_samsung_crespo-38fac5b1e2604aaf3ffae7ebadf219eb567cb61f.tar.gz kernel_samsung_crespo-38fac5b1e2604aaf3ffae7ebadf219eb567cb61f.tar.bz2 |
net: wireless: bcmdhd: Skip inaccurate wl_construct_reginfo() call
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r-- | drivers/net/wireless/bcmdhd/wl_cfg80211.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcmdhd/wl_cfg80211.c b/drivers/net/wireless/bcmdhd/wl_cfg80211.c index 009ebed..e62f6e5 100644 --- a/drivers/net/wireless/bcmdhd/wl_cfg80211.c +++ b/drivers/net/wireless/bcmdhd/wl_cfg80211.c @@ -4718,7 +4718,7 @@ static s32 wl_inform_single_bss(struct wl_priv *wl, struct wl_bss_info *bi) #endif channel = ieee80211_get_channel(wiphy, freq); if (!channel) { - WL_ERR(("No valid channel")); + WL_ERR(("No valid channel: %u\n", freq)); kfree(notif_bss_info); return -EINVAL; } @@ -7179,6 +7179,7 @@ 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)); @@ -7187,6 +7188,7 @@ 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) { |