qcacld-3.0: Don't reset connecting TDLS peer to idle state
It resets connecting TDLS peer to idle state, and then won't send peer delete command to FW, which cause FW break down. So check link status and avoid to reset connecting TDLS peer to idle state. Change-Id: I8e8c883c6a517d516f496790350324a4257c9325 CRs-Fixed: 2726207
This commit is contained in:
@@ -829,7 +829,9 @@ static void tdls_ct_process_cap_unknown(struct tdls_peer *curr_peer,
|
||||
tdls_vdev->curr_candidate = curr_peer;
|
||||
tdls_implicit_send_discovery_request(tdls_vdev);
|
||||
} else {
|
||||
curr_peer->tdls_support = TDLS_CAP_NOT_SUPPORTED;
|
||||
if (curr_peer->link_status != TDLS_LINK_CONNECTING) {
|
||||
curr_peer->tdls_support =
|
||||
TDLS_CAP_NOT_SUPPORTED;
|
||||
tdls_set_peer_link_status(
|
||||
curr_peer,
|
||||
TDLS_LINK_IDLE,
|
||||
@@ -837,6 +839,7 @@ static void tdls_ct_process_cap_unknown(struct tdls_peer *curr_peer,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* tdls_ct_process_peers() - process the peer
|
||||
|
Reference in New Issue
Block a user