summaryrefslogtreecommitdiff
path: root/ipacm/src/IPACM_Wlan.cpp
diff options
context:
space:
mode:
authorSkylar Chang <chiaweic@codeaurora.org>2016-04-21 16:56:08 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-23 14:07:14 -0700
commitdf178deea46dbd45831105ce2dafde645259f5ea (patch)
tree0284c62dc332495635c718ec19dad2339261d4f6 /ipacm/src/IPACM_Wlan.cpp
parent8c5a6d96f8b756ceea2724ee905a28a5fa8d3479 (diff)
downloadipacfg-mgr-df178deea46dbd45831105ce2dafde645259f5ea.tar.gz
IPACM: change WLAN category back to UNKNOWN_IF
Change the interface category of wlan0/wlan1 back to UNKNOWN_IF when the interface is brought down. Change-Id: I1004d42987394b3590f6085b31790efa1f8786f1
Diffstat (limited to 'ipacm/src/IPACM_Wlan.cpp')
-rw-r--r--ipacm/src/IPACM_Wlan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipacm/src/IPACM_Wlan.cpp b/ipacm/src/IPACM_Wlan.cpp
index 375a718..f5c5288 100644
--- a/ipacm/src/IPACM_Wlan.cpp
+++ b/ipacm/src/IPACM_Wlan.cpp
@@ -157,7 +157,7 @@ void IPACM_Wlan::event_callback(ipa_cm_event_id event, void *param)
IPACMDBG_H("Received IPA_WLAN_LINK_DOWN_EVENT\n");
handle_down_evt();
/* reset the AP-iface category to unknown */
- ipa_if_cate = UNKNOWN_IF;
+ IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat = UNKNOWN_IF;
IPACM_Iface::ipacmcfg->DelNatIfaces(dev_name); // delete NAT-iface
IPACM_Wlan::total_num_wifi_clients = (IPACM_Wlan::total_num_wifi_clients) - \
(num_wifi_client);