diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-01-21 13:52:24 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-21 17:34:37 +0100 |
commit | 54330bf63b49683d006d8f3857d45722a8c0fbff (patch) | |
tree | 5de9079c702a8b3bc66a04a02fee3b5058b3c502 /include/net | |
parent | c1e140bf79d817d4a7aa9932eb98b0359c87af33 (diff) | |
download | op-kernel-dev-54330bf63b49683d006d8f3857d45722a8c0fbff.zip op-kernel-dev-54330bf63b49683d006d8f3857d45722a8c0fbff.tar.gz |
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>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions