summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDARAM SUDHA <dsudha@qti.qualcomm.com>2015-01-29 19:55:14 +0530
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-01-30 15:07:15 +0530
commit79c8c296f161691decc7cc64be6ce5b24de27b34 (patch)
tree28f64ab5b33de05bd5567044b2fe2c77d21f27ed
parent3a3b0e59ebde7bd0c90621c0203c8db21ce25710 (diff)
qcacld: disble pn check for ibss network, in security mode
in ibss network, remove pn-check for MC/BC packets. Change-Id: I4c3542e82a1917b4ed27513e9244702bb212df88 CRs-FIXED: 788954
-rw-r--r--CORE/CLD_TXRX/TXRX/ol_rx_pn.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/CLD_TXRX/TXRX/ol_rx_pn.c b/CORE/CLD_TXRX/TXRX/ol_rx_pn.c
index ffe1be54a372..9005ea86abb2 100644
--- a/CORE/CLD_TXRX/TXRX/ol_rx_pn.c
+++ b/CORE/CLD_TXRX/TXRX/ol_rx_pn.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011, 2013-2014 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011, 2015 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -109,7 +109,8 @@ ol_rx_pn_check_base(
int last_pn_valid;
/* Make sure host pn check is not redundant */
- if (adf_os_atomic_read(&peer->fw_pn_check)) {
+ if ((adf_os_atomic_read(&peer->fw_pn_check)) ||
+ (vdev->opmode == wlan_op_mode_ibss)) {
return msdu_list;
}