]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: release the channel in error path in start_ap
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 27 Jan 2014 09:07:42 +0000 (11:07 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 6 Feb 2014 08:55:20 +0000 (09:55 +0100)
commit092c6e3b6b27e8b40d5bb4a63b0ed847e1702dce
tree2632e94cf030d07b2ec7b24f36d7ab9e7dd3c327
parent1d86b8a8ea6de96140011403a3548bba323e1e7f
mac80211: release the channel in error path in start_ap

When the driver cannot start the AP or when the assignement
of the beacon goes wrong, we need to unassign the vif.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c