mac80211: clean up key freeing a bit
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Mar 2013 21:53:52 +0000 (22:53 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 11 Mar 2013 13:16:41 +0000 (15:16 +0200)
commit79cf2dfa362f3e6368ad8ecb10aa82b39678fedc
treea31ef2bc191d189378fc3520df7e8d303b65c0d1
parent3d5839b6aa6bbf26c04e885956109d1995d01fe2
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>
net/mac80211/cfg.c
net/mac80211/key.c
net/mac80211/key.h
This page took 0.027145 seconds and 5 git commands to generate.