From: Johannes Berg Date: Wed, 6 Mar 2013 21:53:52 +0000 (+0100) Subject: mac80211: clean up key freeing a bit X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~170^2^2~118^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79cf2dfa362f3e6368ad8ecb10aa82b39678fedc;p=pandora-kernel.git 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 --- Reading git-diff-tree failed