mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Bluetooth: btqca: Reset download type to default
This patch will reset the download flag to default value
before retrieving the download mode type.
Fixes: 32646db8cc ("Bluetooth: btqca: inject command complete event during fw download")
Signed-off-by: Balakrishna Godavarthi <[email protected]>
Tested-by: Claire Chang <[email protected]>
Reviewed-by: Claire Chang <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
c7c5ae2902
commit
12072a6896
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue