3.6.11.9-rc1 stable review patch. If anyone has any objections, please let me know.
------------------ From: Johannes Berg <johannes.b...@intel.com> [ Upstream commit 74418edec915d0f446debebde08d170c7b8ba0ee ] When a P2P GO interface goes down, cfg80211 doesn't properly tear it down, leading to warnings later. Add the GO interface type to the enumeration to tear it down like AP interfaces. Otherwise, we leave it pending and mac80211's state can get very confused, leading to warnings later. Cc: sta...@vger.kernel.org Reported-by: Ilan Peer <ilan.p...@intel.com> Tested-by: Ilan Peer <ilan.p...@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumb...@intel.com> Signed-off-by: Johannes Berg <johannes.b...@intel.com> Signed-off-by: Steven Rostedt <rost...@goodmis.org> --- net/wireless/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/wireless/core.c b/net/wireless/core.c index a10901b..250e0a6 100644 --- a/net/wireless/core.c +++ b/net/wireless/core.c @@ -846,6 +846,7 @@ static int cfg80211_netdev_notifier_call(struct notifier_block *nb, cfg80211_leave_mesh(rdev, dev); break; case NL80211_IFTYPE_AP: + case NL80211_IFTYPE_P2P_GO: cfg80211_stop_ap(rdev, dev); break; default: -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/