diff options
author | Balakrishna Godavarthi <bgodavar@codeaurora.org> | 2019-08-08 14:26:08 +0530 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-08-12 19:07:15 +0200 |
commit | 12072a68961af20e84ddb4aba2387ba5f70e8c14 (patch) | |
tree | b21e6db3bac33b62bd566d82655dcc5993daab16 | |
parent | c7c5ae2902bf8fe9acc75f798c0de75ac9295ccf (diff) | |
download | linux-12072a68961af20e84ddb4aba2387ba5f70e8c14.tar.bz2 |
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>
-rw-r--r-- | drivers/bluetooth/btqca.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/btqca.c b/drivers/bluetooth/btqca.c index 8f0fec5acade..0875470a7806 100644 --- a/drivers/bluetooth/btqca.c +++ b/drivers/bluetooth/btqca.c @@ -140,6 +140,7 @@ static void qca_tlv_check_data(struct rome_config *config, BT_DBG("Length\t\t : %d bytes", length); config->dnld_mode = ROME_SKIP_EVT_NONE; + config->dnld_type = ROME_SKIP_EVT_NONE; switch (config->type) { case TLV_TYPE_PATCH: |