Bluetooth: hci_qca: Stop collecting memdump again for command timeout during SSR
authorVenkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
Tue, 28 Jul 2020 15:53:00 +0000 (21:23 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Jul 2020 18:29:43 +0000 (20:29 +0200)
commit58789a1990c1a849a461ac912e72a698a771951a
tree08f78330ea8541986635cc1677d10c5f00b6ce3b
parent4e8c36c3b0d73d46aa27cfd4308aaa445a1067df
Bluetooth: hci_qca: Stop collecting memdump again for command timeout during SSR

Setting memdump state to idle prior to setting of callback function
pointer for command timeout to NULL,causing the issue.Now moved the
initialisation of memdump state to qca_setup().

Fixes: d841502c79e3 ("Bluetooth: hci_qca: Collect controller memory dump during SSR")
Signed-off-by: Venkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c