Skip to contentSkip to conversation

Bluetooth: btqca: Reset download type to default

PATCH Superseded Balakrishna Godavarthi 3 participants 5 messages Aug 8, 2019

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 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.

---
 drivers/bluetooth/btqca.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bluetooth/btqca.c +1 -0
index 2221935fac7e..9fb247c10855 100644
@@ -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
#1 lore raw

+Claire

Quoted 21 lines · Balakrishna Godavarthi

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

---
 drivers/bluetooth/btqca.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bluetooth/btqca.c +1 -0
index 2221935fac7e..9fb247c10855 100644
@@ -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
#2 lore raw

Hi,

Please add the Fixes: tag and I will add my Reviewed-by: tag.

Thanks,
Claire

Quoted 30 lines · Rocky Liao

+Claire

Quoted 20 lines · Balakrishna Godavarthi

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

---
 drivers/bluetooth/btqca.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bluetooth/btqca.c +1 -0
index 2221935fac7e..9fb247c10855 100644
@@ -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) {
Quoted 1 line

case TLV_TYPE_PATCH:

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

#3 lore raw

Hi,

Quoted 40 lines · Claire Chang

Hi,

Please add the Fixes: tag and I will add my Reviewed-by: tag.

Thanks,
Claire

Quoted 30 lines · Rocky Liao

+Claire

Quoted 20 lines · Balakrishna Godavarthi

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

---
 drivers/bluetooth/btqca.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bluetooth/btqca.c +1 -0
index 2221935fac7e..9fb247c10855 100644
@@ -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) {
Quoted 1 line

case TLV_TYPE_PATCH:

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

uploaded new patch set.

Signature · 2 lines
Regards
Balakrishna.
#4 lore raw
In reply to Balakrishna Godavarthi
Quoted 21 lines · Balakrishna Godavarthi

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

---
 drivers/bluetooth/btqca.c | 1 +
 1 file changed, 1 insertion(+)
drivers/bluetooth/btqca.c +1 -0
index 2221935fac7e..9fb247c10855 100644
@@ -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 · 4 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

Reviewed-by: Rocky Liao <[email protected]>