|
@@ -47,7 +47,7 @@ static QDF_STATUS lim_add_ndi_peer(tpAniSirGlobal mac_ctx,
|
|
|
tpPESession session;
|
|
|
tpDphHashNode sta_ds;
|
|
|
uint16_t assoc_id, peer_idx;
|
|
|
- tSirRetStatus status;
|
|
|
+ QDF_STATUS status;
|
|
|
uint8_t zero_mac_addr[QDF_MAC_ADDR_SIZE] = { 0, 0, 0, 0, 0, 0 };
|
|
|
|
|
|
if (!qdf_mem_cmp(&zero_mac_addr, &peer_mac_addr.bytes[0],
|
|
@@ -92,7 +92,7 @@ static QDF_STATUS lim_add_ndi_peer(tpAniSirGlobal mac_ctx,
|
|
|
/* wma decides NDI mode from wma->inferface struct */
|
|
|
sta_ds->staType = STA_ENTRY_NDI_PEER;
|
|
|
status = lim_add_sta(mac_ctx, sta_ds, false, session);
|
|
|
- if (eSIR_SUCCESS != status) {
|
|
|
+ if (QDF_STATUS_SUCCESS != status) {
|
|
|
/* couldn't add peer */
|
|
|
pe_err("limAddSta failed status: %d",
|
|
|
status);
|
|
@@ -425,7 +425,7 @@ void lim_ndi_del_bss_rsp(tpAniSirGlobal mac_ctx,
|
|
|
if (lim_set_link_state(mac_ctx, eSIR_LINK_IDLE_STATE,
|
|
|
session_entry->selfMacAddr,
|
|
|
session_entry->selfMacAddr, NULL, NULL)
|
|
|
- != eSIR_SUCCESS) {
|
|
|
+ != QDF_STATUS_SUCCESS) {
|
|
|
pe_err("NDI: DEL_BSS_RSP setLinkState failed");
|
|
|
goto end;
|
|
|
}
|