qcacmn: setup tid queues only if default route is set

ensure we setup tid queues only if default route is set
Also we no longer set default route or tid queue setup
for BSS Peer.

Change-Id: Id240b9b8ddd67136ff85e1098840938928857fc4
This commit is contained in:
Tallapragada Kalyan
2018-05-28 05:02:53 +05:30
committed by nshrivas
parent 4059554db0
commit 8c93d5d032
4 changed files with 27 additions and 3 deletions

View File

@@ -692,8 +692,7 @@ dp_rx_null_q_desc_handle(struct dp_soc *soc, qdf_nbuf_t nbuf,
* unicast. Should we check this?
*/
tid = hal_rx_mpdu_start_tid_get(soc->hal_soc, rx_tlv_hdr);
if (peer &&
peer->rx_tid[tid].hw_qdesc_vaddr_unaligned == NULL) {
if (peer && !peer->rx_tid[tid].hw_qdesc_vaddr_unaligned) {
/* IEEE80211_SEQ_MAX indicates invalid start_seq */
dp_rx_tid_setup_wifi3(peer, tid, 1, IEEE80211_SEQ_MAX);
}