]> 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)
commitd9ba0cb875b36e7ec4417f113ba36ae6c69c8816
treea71980707a7e1f8a68d980f0590040d754c25639
parentb3f1f5b49f151315e1048a2e72bf18a8055d3180
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