diff options
author | Luciano Coelho <luciano.coelho@intel.com> | 2015-03-01 09:10:04 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-03-03 15:56:09 +0100 |
commit | c8fff3dc72817d476e083c3f9bc59a11901ecfeb (patch) | |
tree | ef86e843cb03fa92654f000b7b7f85e70ac8b023 /net/mac80211/pm.c | |
parent | be72afe0a43825ea357bf61f01ff8fe9938fe7d4 (diff) |
mac80211: handle drv_add_interface failures properly during reconfig
If any interface fails to be added to the driver in during reconfig,
we should remove all the successfully added interfaces and report
reconfig failure, so things can be cleaned up properly. Failing to do
so can lead to subsequent failures and leave the drivers in a messed
up state.
Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/pm.c')
0 files changed, 0 insertions, 0 deletions