diff options
author | Michal Kazior <michal.kazior@tieto.com> | 2015-04-10 16:01:27 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2015-04-17 09:32:40 +0300 |
commit | d9585a92c79bb479040ab5ceff61d3f2b6864357 (patch) | |
tree | 5ac06dc2be922ff7067873db8b50a6f67ef435fb /drivers/net/wireless/ath/ath10k/trace.h | |
parent | 26bea13a65654b21b224a47daf02827c79302f2e (diff) | |
download | linux-d9585a92c79bb479040ab5ceff61d3f2b6864357.tar.xz |
ath10k: fix error handling in pci_probe
If chip_id wasn't recognized clean up code wasn't
executed properly. It would skip freeing memory
causing a leak and irqs causing possibly MSI
warning splats later or even kernel crashes.
Fixes: 1a7fecb766c8 ("ath10k: reset chip before reading chip_id in probe")
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/trace.h')
0 files changed, 0 insertions, 0 deletions