diff --git a/core/wma/src/wma_dev_if.c b/core/wma/src/wma_dev_if.c index ca129ce2a4af..144a08b8773c 100644 --- a/core/wma/src/wma_dev_if.c +++ b/core/wma/src/wma_dev_if.c @@ -4081,7 +4081,7 @@ void wma_add_sta(tp_wma_handle wma, tpAddStaParams add_sta) /* IBSS should share the same code as AP mode */ case BSS_OPERATIONAL_MODE_IBSS: case BSS_OPERATIONAL_MODE_AP: - htc_vote_link_down(wma->htc_handle); + htc_vote_link_up(wma->htc_handle); wma_add_sta_req_ap_mode(wma, add_sta); break; case BSS_OPERATIONAL_MODE_NDI: @@ -4133,7 +4133,7 @@ void wma_delete_sta(tp_wma_handle wma, tpDeleteStaParams del_sta) case BSS_OPERATIONAL_MODE_IBSS: /* IBSS shares AP code */ case BSS_OPERATIONAL_MODE_AP: - htc_vote_link_up(wma->htc_handle); + htc_vote_link_down(wma->htc_handle); wma_delete_sta_req_ap_mode(wma, del_sta); /* free the memory here only if sync feature is not enabled */ if (!rsp_requested &&