summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2017-06-28 16:01:48 -0700
committersnandini <snandini@codeaurora.org>2017-06-30 17:12:09 -0700
commit8ef225a748aceec435bbbd790afa5a6d5bfed99e (patch)
treec75280d717bc7a359141d46ad6460ff1d01d343a
parent4ad9d0b2365ba4c9c8e3e2fc9c27b5384a57c098 (diff)
qcacld-3.0: Fix clang warnings implicit conversion from enum 'enum pkt_filter_action'
warning: implicit conversion from enumeration type 'enum pkt_filter_action' to different enumeration type 'eSirReceivePacketFilterType' [-Wenum-conversion] Remove eSirReceivePacketFilterType and Move enum pkt_filter_action to SME. Change-Id: Idc819573712a54676ed0ba84d2032d80fd78b3b7 CRs-Fixed: 2055487
-rw-r--r--core/hdd/src/wlan_hdd_wext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c
index 216e3263735c..faa39173c65a 100644
--- a/core/hdd/src/wlan_hdd_wext.c
+++ b/core/hdd/src/wlan_hdd_wext.c
@@ -11361,7 +11361,7 @@ int wlan_hdd_set_filter(hdd_context_t *hdd_ctx,
}
packetFilterSetReq.numFieldParams = request->num_params;
packetFilterSetReq.coalesceTime = 0;
- packetFilterSetReq.filterType = HDD_RCV_FILTER_SET;
+ packetFilterSetReq.filterType = SIR_RCV_FILTER_TYPE_FILTER_PKT;
for (i = 0; i < request->num_params; i++) {
packetFilterSetReq.paramsData[i].protocolLayer =
request->params_data[i].protocol_layer;