commit | 79cf2dfa362f3e6368ad8ecb10aa82b39678fedc | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Mar 06 22:53:52 2013 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Mar 11 15:16:41 2013 +0200 |
tree | a31ef2bc191d189378fc3520df7e8d303b65c0d1 | |
parent | 3d5839b6aa6bbf26c04e885956109d1995d01fe2 [diff] |
mac80211: clean up key freeing a bit When a key is allocated but not really added, there's no need to go through the entire teardown process. Also, if adding a key fails, ieee80211_key_link() can take care of freeing it instead of the (only) caller. Signed-off-by: Johannes Berg <johannes.berg@intel.com>