Browse Source

qcacmn: Fix the datatype from uint_8 to uint_16

When Vlan_id is set to 256, AP cannot ping to STA.
This is due to the dataype assigned to vlan_id in
cdp_peer_set_vlan_id API which is using uint_8
instead of uint_16.
Fix to change the data type to uint_16

Change-Id: I6cea467398a032f4afacb76289d4f853bf63c2f8
Devender Kumar 4 năm trước cách đây
mục cha
commit
49575512a7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      dp/inc/cdp_txrx_ctrl.h

+ 1 - 1
dp/inc/cdp_txrx_ctrl.h

@@ -532,7 +532,7 @@ static inline QDF_STATUS cdp_txrx_get_peer_param(ol_txrx_soc_handle soc,
 #ifdef QCA_MULTIPASS_SUPPORT
 static inline void
 cdp_peer_set_vlan_id(ol_txrx_soc_handle soc, uint8_t vdev_id,
-		     uint8_t *peer_mac, uint8_t vlan_id)
+		     uint8_t *peer_mac, uint16_t vlan_id)
 {
 	if (!soc || !soc->ops) {
 		dp_cdp_debug("Invalid Instance:");