summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMahesh A Saptasagar <msapta@codeaurora.org>2016-04-20 12:44:17 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-06-01 10:48:50 -0700
commit72d2e4b2a37486c47939804885911e88fd6f8846 (patch)
tree7979c05a59da70e936ff4501b693a9671c0521ff
parent2935d25d05be2ebbd9aeb48626c64abf2d728b3f (diff)
qcacld-3.0: Define setKeepAlive ioctl with proper arguments
Define proper set arguments for setKeepAlive ioctl by Passing sizeof setKeepAlive request parameter structure. Change-Id: I4699fecb24f6b3c927e8b7c8263a611b354914a3 CRs-Fixed: 955411
-rw-r--r--core/hdd/src/wlan_hdd_wext.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c
index b4627d6531fd..fb6f9465f35c 100644
--- a/core/hdd/src/wlan_hdd_wext.c
+++ b/core/hdd/src/wlan_hdd_wext.c
@@ -10995,7 +10995,8 @@ static const struct iw_priv_args we_private_args[] = {
{
WLAN_SET_KEEPALIVE_PARAMS,
- sizeof(tSirKeepAliveReq) | IW_PRIV_SIZE_FIXED,
+ IW_PRIV_TYPE_BYTE | sizeof(tSirKeepAliveReq) |
+ IW_PRIV_SIZE_FIXED,
0,
"setKeepAlive"
}