qca-wifi: Unref peer before returning.

Missing peer unref has been added as part of this change.

Change-Id: Ieb29b9d5c28824685d99a2d0d7fdfd6cbb51637a
This commit is contained in:
Varsha Mishra
2019-11-20 23:10:54 +05:30
committed by Gerrit - the friendly Code Review server
parent b1f4eb82dc
commit 7828c20e5d

View File

@@ -488,6 +488,7 @@ uint8_t dp_tx_need_multipass_process(struct dp_soc *soc, struct dp_vdev *vdev,
return DP_VLAN_TAGGED_UNICAST;
}
dp_peer_unref_delete(peer);
return DP_VLAN_UNTAGGED;
}