commit | 3c97887879229e50489b437cfeb51a5153716760 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Mar 06 22:53:52 2013 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sat Apr 11 16:23:17 2020 +0200 |
tree | e1b8dcfc8395d020f013a212b11dda9da3af8be1 | |
parent | 0df8fbaab0dbc81ad085799231d284cd13670b40 [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. Change-Id: Iedc67f1fd35546b597016ce4bc5e914116e1e4d8 Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>