Bluetooth: btqca: Reset download type to default
PATCH v2 1/1 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 <[email protected]>
---
v2:
* add fix tag.
--- drivers/bluetooth/btqca.c | 1 + 1 file changed, 1 insertion(+)
drivers/bluetooth/btqca.c +1 -0
@@ -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 :
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Tested-by Claire Chang <[email protected]>
Reviewed-by Claire Chang <[email protected]>
Thanks!
Quoted 30 lines · Balakrishna Godavarthi
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 <[email protected]>---
v2:
* add fix tag.--- drivers/bluetooth/btqca.c | 1 + 1 file changed, 1 insertion(+)drivers/bluetooth/btqca.c +1
-1@@ -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 : --The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Marcel Holtmann
maintainerHi Balakrishna,
Quoted 5 lines
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 <[email protected]>
Quoted 7 lines
---
v2:
* add fix tag.---
drivers/bluetooth/btqca.c| 1 +1 file changed, 1 insertion(+)
patch has been applied to bluetooth-stable tree.
Regards
Marcel