]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix P2P GO interface teardown
authorJohannes Berg <johannes.berg@intel.com>
Tue, 30 Jul 2013 08:11:25 +0000 (10:11 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jul 2013 19:18:17 +0000 (21:18 +0200)
commit5f68b96cef7364b610308b7597ad8478e043d2c2
treea71980707a7e1f8a68d980f0590040d754c25639
parent4d378485c2ec71bdd6156e00a670ea0482830773
cfg80211: fix P2P GO interface teardown

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: stable@vger.kernel.org
Reported-by: Ilan Peer <ilan.peer@intel.com>
Tested-by: Ilan Peer <ilan.peer@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/core.c