commit | 54330bf63b49683d006d8f3857d45722a8c0fbff | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Jan 21 13:52:24 2015 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Wed Jan 21 17:34:37 2015 +0100 |
tree | 5de9079c702a8b3bc66a04a02fee3b5058b3c502 | |
parent | c1e140bf79d817d4a7aa9932eb98b0359c87af33 [diff] |
mac80211: fix HW registration error paths Station info state is started in allocation, so should be destroyed on free (it's just a timer); rate control must be freed if anything afterwards fails to initialize. LED exit should be later, no need for locking there, but it needs to be done also when rate init failed. Also clean up the code by moving a label so the locking doesn't have to be done separately. Signed-off-by: Johannes Berg <johannes.berg@intel.com>