Parcourir la source

qcacmn: Fix transaction id descrepancy during NDI create

Driver truncated the transaction id to 8-bits from 16-bit
value causing the descrepancy in transaction id exchange
during NDI create.

Change-Id: I502f422620411c39bd0e75f06e9b7200bfea24ae
CRs-Fixed: 2072511
Naveen Rawat il y a 7 ans
Parent
commit
b0a5c407e2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/os_if_nan.c

+ 1 - 1
src/os_if_nan.c

@@ -1247,7 +1247,7 @@ static void os_if_ndp_iface_create_rsp_handler(struct wlan_objmgr_psoc *psoc,
 	bool create_fail = false;
 	struct nan_callbacks cb_obj;
 	struct sk_buff *vendor_event;
-	uint8_t create_transaction_id;
+	uint16_t create_transaction_id;
 	struct wlan_objmgr_pdev *pdev = wlan_vdev_get_pdev(vdev);
 	struct pdev_osif_priv *os_priv = wlan_pdev_get_ospriv(pdev);
 	uint32_t create_status = NAN_DATAPATH_RSP_STATUS_ERROR;