mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
qcacld-3.0: Remove empty hdd_roam_deregister_sta() test
Currently hdd_roam_deregister_sta() tests the STA to see if it is in the eConnectionState_IbssDisconnected state, but then doesn't actually do anything if it is true. Since this is obviously an obsolete test where the action code has been previously removed, now remove the actual test. Change-Id: I6a0077088d87f91b8d8f220049de05a19232995b CRs-Fixed: 2198554
This commit is contained in:
parent
a4f156fe65
commit
321069fee3
1 changed files with 0 additions and 7 deletions
|
|
@ -1493,13 +1493,6 @@ QDF_STATUS hdd_roam_deregister_sta(struct hdd_adapter *adapter, uint8_t staid)
|
|||
int ret = 0;
|
||||
struct qdf_mac_addr *peer_mac = NULL;
|
||||
struct qdf_mac_addr broadcastMacAddr = QDF_MAC_ADDR_BCAST_INIT;
|
||||
if (eConnectionState_IbssDisconnected ==
|
||||
sta_ctx->conn_info.connState) {
|
||||
/*
|
||||
* Do not set the carrier off when the last peer leaves.
|
||||
* We will set the carrier off while stopping the IBSS.
|
||||
*/
|
||||
}
|
||||
|
||||
qdf_status = cdp_clear_peer(cds_get_context(QDF_MODULE_ID_SOC),
|
||||
(struct cdp_pdev *)cds_get_context(QDF_MODULE_ID_TXRX),
|
||||
|
|
|
|||
Loading…
Reference in a new issue