ath10k: cleanup ath10k_mac_register() error handling
authorJeff Johnson <jjohnson@qca.qualcomm.com>
Thu, 8 Oct 2015 16:15:53 +0000 (09:15 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 14 Oct 2015 06:00:01 +0000 (09:00 +0300)
commit0e339447cf2c8b5c742f9be8e2d73bc27b7ac9c4
tree77bd29e3fe19f7b6362bb94564192090cb900c22
parent83cfce87d91f06e37bd38f782f0714b406a95873
ath10k: cleanup ath10k_mac_register() error handling

The logic in the error-handling path of ath10k_mac_register() is
divergent from the logic in ath10k_mac_unregister().  Update the
ath10k_mac_register() error handling logic to align with the
ath10k_mac_unregister() logic.

Signed-off-by: Jeff Johnson <jjohnson@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c