ath10k: reset device upon stopping/power down
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 8 Nov 2013 07:01:35 +0000 (08:01 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 12 Nov 2013 18:06:46 +0000 (20:06 +0200)
commit6a42a47e23acdcbc97aac925b5a14d1b187606cf
treefd5ed6867137d0d9fa97843803f742001876de1c
parent1d2b48d6174efb216012ec7cae7ddc653871543f
ath10k: reset device upon stopping/power down

This should make sure the device won't issue any
interrupts nor access any memory after the driver
is stopped/freed thus avoid memory corruption in
some cases.

Reported-By: Ben Greear <greearb@candelatech.com>
Reported-By: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c