diff options
author | Dewey Lee <dewey.lee@broadcom.corp-partner.google.com> | 2023-08-01 12:07:45 +0900 |
---|---|---|
committer | Isaac Chiou <isaacchiou@google.com> | 2023-08-14 03:09:33 +0000 |
commit | 6e84c803f6e29605fda0f70bc84c20b3e4bf3cee (patch) | |
tree | 9b80ee412614a7d8c68b98b711d8a7feb066493b | |
parent | b8a46242258f452067c741c7b5ef286f5102993f (diff) | |
download | bcm4389-6e84c803f6e29605fda0f70bc84c20b3e4bf3cee.tar.gz |
bcmdhd: Fixed to ignore validations for not supported channels during cellaoid
Issue:
Framework tried to set unsafe channels to the driver, but the driver was setting channel avoidance failed response.
Analysis:
Ch68 is a not-allocated channel.
When the framework sends an unsafe channel list with this channel(ch68) to the driver through cellavoid cmd, the driver returns invalid(-22) and eventually the cmd fails.
Fix:
fixed to ignore validations for not supported channels during cellavoid.
Bug: 293019789
Test: Verified with Pixel device
Signed-off-by: Dewey Lee <dewey.lee@broadcom.corp-partner.google.com>
Change-Id: I067cd5efe358c5a1e3e8ee631831b5f533164130
-rwxr-xr-x | wl_cfg_cellavoid.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/wl_cfg_cellavoid.c b/wl_cfg_cellavoid.c index 85188c4..9f89d12 100755 --- a/wl_cfg_cellavoid.c +++ b/wl_cfg_cellavoid.c @@ -1678,8 +1678,6 @@ wl_cellavoid_validate_param(struct bcm_cfg80211 *cfg, wl_cellavoid_param_t *para WL_ERR(("Not supported band %d, channel %d, pwrcap %d\n", param->chan_param[i].band, param->chan_param[i].center_channel, param->chan_param[i].pwr_cap)); - ret = -EINVAL; - goto exit; } param->chan_param[i].chspec_bw = bw; |