projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ed2a48
)
net: wireless: bcmdhd: Ignore error if "chanspecs" command is not supported
author
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 20 Jun 2012 17:22:51 +0000
(10:22 -0700)
committer
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 20 Jun 2012 17:26:09 +0000
(10:26 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcmdhd/wl_cfg80211.c
b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
index d6bf8fa0c13f41acb2d505c75d5629eb11ad6b0f..009ebed2c7b3185d11b49f92064e948bfec08037 100644
(file)
--- a/
drivers/net/wireless/bcmdhd/wl_cfg80211.c
+++ b/
drivers/net/wireless/bcmdhd/wl_cfg80211.c
@@
-7182,7
+7182,10
@@
s32 wl_update_wiphybands(struct wl_priv *wl)
err = wl_construct_reginfo(wl, bw_cap);
if (err) {
WL_ERR(("wl_construct_reginfo() fails err=%d\n", err));
- return err;
+ if (err != BCME_UNSUPPORTED)
+ return err;
+ /* Ignore error if "chanspecs" command is not supported */
+ err = 0;
}
for (i = 1; i <= nband && i < sizeof(bandlist)/sizeof(u32); i++) {
index = -1;