diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-01-21 15:52:24 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-21 19:34:37 +0300 |
commit | 54330bf63b49683d006d8f3857d45722a8c0fbff (patch) | |
tree | 5de9079c702a8b3bc66a04a02fee3b5058b3c502 /net/mac80211/cfg.c | |
parent | c1e140bf79d817d4a7aa9932eb98b0359c87af33 (diff) | |
download | linux-54330bf63b49683d006d8f3857d45722a8c0fbff.tar.xz |
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 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions