|
|
@@ -7,6 +7,7 @@
|
|
|
* Copyright 2008, Johannes Berg <johannes@sipsolutions.net>
|
|
|
* Copyright 2013-2014 Intel Mobile Communications GmbH
|
|
|
* Copyright (c) 2016 Intel Deutschland GmbH
|
|
|
+ * Copyright (C) 2018 Intel Corporation
|
|
|
*
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
@@ -1951,6 +1952,8 @@ void ieee80211_remove_interfaces(struct ieee80211_local *local)
|
|
|
WARN(local->open_count, "%s: open count remains %d\n",
|
|
|
wiphy_name(local->hw.wiphy), local->open_count);
|
|
|
|
|
|
+ ieee80211_txq_teardown_flows(local);
|
|
|
+
|
|
|
mutex_lock(&local->iflist_mtx);
|
|
|
list_for_each_entry_safe(sdata, tmp, &local->interfaces, list) {
|
|
|
list_del(&sdata->list);
|