diff options
| author | Mukul Sharma <mukul@codeaurora.org> | 2017-01-15 19:02:37 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-01-21 11:38:29 -0800 |
| commit | 78540e30942c01a9422d4eb8d1f3aab8396cb893 (patch) | |
| tree | 984b3e7605d4675df89bb630d60a77c937a824a2 | |
| parent | 99d0da912625f3452fd33cceba65765edd213251 (diff) | |
qcacld-3.0: Don't process rx filter/mc list req when mc ini is disabled
Presently, Host process set rx filter/mc list request though
mc address list ini is disabled.
Hence as a part of the fix, Don't process these request when
mc addr list ini is disabled.
Change-Id: Ia9a152dd1d3e533eff898f425d5309126354a6b5
CRs-Fixed: 1106300
| -rw-r--r-- | core/hdd/src/wlan_hdd_ioctl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c index 26a91a791de9..7803d3bcd7f8 100644 --- a/core/hdd/src/wlan_hdd_ioctl.c +++ b/core/hdd/src/wlan_hdd_ioctl.c @@ -6178,6 +6178,11 @@ static int hdd_set_rx_filter(hdd_adapter_t *adapter, bool action, return -EINVAL; } + if (!hdd_ctx->config->fEnableMCAddrList) { + hdd_notice("mc addr ini is disabled"); + return -EINVAL; + } + /* * If action is false it means start dropping packets * Set addr_filter_pattern which will be used when sending |
