mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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)
This commit is contained in:
parent
4405cbfb79
commit
b3ef41623c
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue