]> 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)
commit508a074f20601ff4f7450e9d007226f684c03b8d
tree2632e94cf030d07b2ec7b24f36d7ab9e7dd3c327
parentdeb8743597e4e7bd1a7c43bdd83c9b60e703fcfc
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