summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanumanth Reddy Pothula <c_hpothu@codeaurora.org>2016-11-07 18:40:32 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-11-09 23:53:57 -0800
commit7acaaabcb96155b5deb53360a24cc86691105a0a (patch)
tree6a61d9a953b43e57fa00cd34d3711c77e8b82fe9
parentb8c0cc93824395b280f589f30ca1b63b79386a94 (diff)
qcacld-3.0: Don't validate sessionId while processing del virtual iface
Del virtual interface is not processed while un-initializing SAP as validate session-id fails, because sessionId is invalidated in case of SAP during the stop ap leading to improper cleanup during the sap close. Also, del virtual iface can come even when the interface is down. Hence, don't validate the sessiodId while processing del virtual iface. Change-Id: Ic1d365e09e0d280fa5d4a1543a594a08a652a717 CRs-Fixed: 1086647
-rw-r--r--core/hdd/src/wlan_hdd_p2p.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/hdd/src/wlan_hdd_p2p.c b/core/hdd/src/wlan_hdd_p2p.c
index ed54273ca7d9..8d44039ed073 100644
--- a/core/hdd/src/wlan_hdd_p2p.c
+++ b/core/hdd/src/wlan_hdd_p2p.c
@@ -2192,11 +2192,6 @@ int __wlan_hdd_del_virtual_intf(struct wiphy *wiphy, struct wireless_dev *wdev)
return -EINVAL;
}
- if (wlan_hdd_validate_session_id(pVirtAdapter->sessionId)) {
- hdd_err("invalid session id: %d", pVirtAdapter->sessionId);
- return -EINVAL;
- }
-
MTRACE(qdf_trace(QDF_MODULE_ID_HDD,
TRACE_CODE_HDD_DEL_VIRTUAL_INTF,
pVirtAdapter->sessionId, pVirtAdapter->device_mode));