Przeglądaj źródła

Revert "qcacld-3.0: Fix the TWT suspend command parse failure"

This reverts Change-Id: I6078c2e199ed13433c3dea532e3bbe396dd6ad8a

Change-Id: Id215025fc81346259932063f3203f67763690cac
CRs-Fixed: 3001632
Kiran Kumar Lokere 3 lat temu
rodzic
commit
564b82acb5
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      core/hdd/src/wlan_hdd_twt.c

+ 4 - 4
core/hdd/src/wlan_hdd_twt.c

@@ -2716,15 +2716,15 @@ static int hdd_twt_pause_session(struct hdd_adapter *adapter,
 	params.vdev_id = adapter->vdev_id;
 
 	ret = wlan_cfg80211_nla_parse_nested(tb,
-				      QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_MAX,
-				      twt_param_attr,
-				      qca_wlan_vendor_twt_nudge_dialog_policy);
+					QCA_WLAN_VENDOR_ATTR_TWT_SETUP_MAX,
+					twt_param_attr,
+					qca_wlan_vendor_twt_add_dialog_policy);
 	if (ret) {
 		hdd_debug("command parsing failed");
 		return ret;
 	}
 
-	id = QCA_WLAN_VENDOR_ATTR_TWT_NUDGE_FLOW_ID;
+	id = QCA_WLAN_VENDOR_ATTR_TWT_SETUP_FLOW_ID;
 	if (tb[id]) {
 		params.dialog_id = nla_get_u8(tb[id]);
 	} else {