qcacld-3.0: Cache deleted station's information in case of SAP
During disconnection process, cache disconnecting STA information
so that the same information is updated to upper-layer on receiving
GET_STATION vendor command, after disconnection.
Change-Id: I2e5a0be42d81b86e6f4490de1bdf9d7e0797506d
CRs-Fixed: 2126182
diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c
index 9b6e35a..3589991 100644
--- a/core/hdd/src/wlan_hdd_wext.c
+++ b/core/hdd/src/wlan_hdd_wext.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -3857,9 +3857,8 @@
struct sir_peer_info *rssi_info;
uint8_t peer_num;
- if ((!sta_rssi) || (!context)) {
- hdd_err("Bad param, sta_rssi [%pK] context [%pK]",
- sta_rssi, context);
+ if ((!sta_rssi)) {
+ hdd_err("Bad param, sta_rssi [%pK]", sta_rssi);
return;
}
@@ -3887,6 +3886,7 @@
hdd_request_complete(request);
hdd_request_put(request);
+
}
int wlan_hdd_get_peer_rssi(struct hdd_adapter *adapter,