Bluetooth: btqca: Reset download type to default
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Thu, 8 Aug 2019 08:56:08 +0000 (14:26 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 12 Aug 2019 17:07:15 +0000 (19:07 +0200)
commit12072a68961af20e84ddb4aba2387ba5f70e8c14
treeb21e6db3bac33b62bd566d82655dcc5993daab16
parentc7c5ae2902bf8fe9acc75f798c0de75ac9295ccf
Bluetooth: btqca: Reset download type to default

This patch will reset the download flag to default value
before retrieving the download mode type.

Fixes: 32646db8cc28 ("Bluetooth: btqca: inject command complete event during fw download")
Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
Tested-by: Claire Chang <tientzu@chromium.org>
Reviewed-by: Claire Chang <tientzu@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btqca.c