qcacmn: Do not call scheduler for PO and FO

PO = Partial Offload
FO = Full offload

If the channel list preparation is handled in the same thread
of execution then call to scheduler is not required.

Change-Id: I46bf07ac14c1101de5e00165f34e937ab939659e
CRs-Fixed: 2124580
This commit is contained in:
Shashikala Prabhu 2017-10-26 17:50:58 +05:30 • committed by snandini
commit 739e33f1e0

View file

@ -2471,14 +2471,15 @@ static void reg_propagate_mas_chan_list_to_pdev(struct wlan_objmgr_psoc *psoc,
reg_compute_pdev_current_chan_list(pdev_priv_obj);
reg_tx_ops = reg_get_psoc_tx_ops(psoc);
if (reg_tx_ops->fill_umac_legacy_chanlist)
if (reg_tx_ops->fill_umac_legacy_chanlist) {
reg_tx_ops->fill_umac_legacy_chanlist(pdev,
pdev_priv_obj->cur_chan_list);
if (*dir == NORTHBOUND)
reg_send_scheduler_msg_nb(psoc, pdev);
else
reg_send_scheduler_msg_sb(psoc, pdev);
} else {
if (*dir == NORTHBOUND)
reg_send_scheduler_msg_nb(psoc, pdev);
else
reg_send_scheduler_msg_sb(psoc, pdev);
}
}
static void reg_run_11d_state_machine(struct wlan_objmgr_psoc *psoc)