diff options
| author | Hanumanth Reddy Pothula <c_hpothu@codeaurora.org> | 2016-10-25 15:13:26 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-10-29 17:27:26 -0700 |
| commit | b3ef41623c8a79a29847ca69c641ac7334d231b6 (patch) | |
| tree | 63c153976eba79a478af201269e60bccc4c5e24b | |
| parent | 4405cbfb79b5bd0af531dc0bc0308b6d72061058 (diff) | |
qcacld-3.0: Don't set fixed params for setPktFilter ioctl
While defining setPktFilter ioctl arguments, Host is setting
IW_PRIV_SIZE_FIXED, which means setPktFilter ioctl accepts
exactly fixed(103) number of parameters. So, if user issues
the ioctl with number parameter other than 103, kernel returns
failure.
Remove IW_PRIV_SIZE_FIXED while defining arguments for setPktFilter
IOCTL, so that setPktFilter is processed.
Change-Id: I373609eb3c180af80218d6e955a1cf0d56f785a7
CRs-Fixed: 1081982
(cherry picked from commit 1105e872650391fbaad03efa325510482c413680)
| -rw-r--r-- | core/hdd/src/wlan_hdd_wext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 720d1f504fc2..52d44b5668cb 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/core/hdd/src/wlan_hdd_wext.c @@ -11060,8 +11060,8 @@ static const struct iw_priv_args we_private_args[] = { #ifdef WLAN_FEATURE_PACKET_FILTERING { WLAN_SET_PACKET_FILTER_PARAMS, - IW_PRIV_TYPE_BYTE | IW_PRIV_SIZE_FIXED | - sizeof(struct pkt_filter_cfg), + IW_PRIV_TYPE_BYTE | + sizeof(struct pkt_filter_cfg), 0, "setPktFilter" } |
