commit | 6f1f56ea43223dd80e238564d31bbc31c65234dd | [log] [tgz] |
---|---|---|
author | Ben Greear <greearb@candelatech.com> | Mon Nov 04 09:18:16 2013 -0800 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Fri Nov 08 11:29:46 2013 +0200 |
tree | 7a9e6b1fdd833f397a16ffbc7a65e225e7580be3 | |
parent | 12eb087939d11af6b5a8228807d1428535aedb3b [diff] |
ath10k: Fix un-initialized debug objects. If the 'ar' registration fails early, the debug objects were not initialized, and trouble ensued when the object was later destroyed and the un-initialized objects were accessed. Per Kalle's suggestion, move the debug_destroy to the core_unregister method. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>