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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
5d539e6876
commit
49575512a7
@@ -532,7 +532,7 @@ static inline QDF_STATUS cdp_txrx_get_peer_param(ol_txrx_soc_handle soc,
|
|||||||
#ifdef QCA_MULTIPASS_SUPPORT
|
#ifdef QCA_MULTIPASS_SUPPORT
|
||||||
static inline void
|
static inline void
|
||||||
cdp_peer_set_vlan_id(ol_txrx_soc_handle soc, uint8_t vdev_id,
|
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) {
|
if (!soc || !soc->ops) {
|
||||||
dp_cdp_debug("Invalid Instance:");
|
dp_cdp_debug("Invalid Instance:");
|
||||||
|
Reference in New Issue
Block a user