mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Remove lim_change_channel_with_callback()
Function lim_change_channel_with_callback() is unused, so remove it. Change-Id: I70e993718c15811c232b34d9096d404804202b75 CRs-Fixed: 2352203
This commit is contained in:
parent
e8ce5c5744
commit
bbf280e6a1
2 changed files with 0 additions and 37 deletions
|
|
@ -169,39 +169,6 @@ void lim_process_mlm_req_messages(tpAniSirGlobal mac_ctx,
|
|||
} /* switch (msg->type) */
|
||||
}
|
||||
|
||||
/**
|
||||
* lim_change_channel_with_callback() - change channel and register callback
|
||||
* @mac_ctx: global MAC context
|
||||
* @new_chan: new channel to switch
|
||||
* @callback: Callback function
|
||||
* @cbdata: callback data
|
||||
* @session_entry: PE session pointer
|
||||
*
|
||||
* This function is called to change channel and perform off channel operation
|
||||
* if required. The caller registers a callback to be called at the end of the
|
||||
* channel change.
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void
|
||||
lim_change_channel_with_callback(tpAniSirGlobal mac_ctx, uint8_t new_chan,
|
||||
CHANGE_CHANNEL_CALLBACK callback,
|
||||
uint32_t *cbdata, tpPESession session_entry)
|
||||
{
|
||||
pe_debug("Switching channel to %d", new_chan);
|
||||
session_entry->channelChangeReasonCode =
|
||||
LIM_SWITCH_CHANNEL_OPERATION;
|
||||
|
||||
mac_ctx->lim.gpchangeChannelCallback = callback;
|
||||
mac_ctx->lim.gpchangeChannelData = cbdata;
|
||||
|
||||
lim_send_switch_chnl_params(mac_ctx, new_chan, 0, 0,
|
||||
CH_WIDTH_20MHZ, session_entry->maxTxPower,
|
||||
session_entry->peSessionId, false, 0, 0);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* lim_covert_channel_scan_type() - switch between ACTIVE and PASSIVE scan type
|
||||
* @mac_ctx: global MAC context
|
||||
|
|
|
|||
|
|
@ -947,10 +947,6 @@ void lim_remove_pbc_sessions(tpAniSirGlobal pMac,
|
|||
tpPESession psessionEntry);
|
||||
|
||||
#define LIM_WPS_OVERLAP_TIMER_MS 10000
|
||||
void
|
||||
lim_change_channel_with_callback(tpAniSirGlobal pMac, uint8_t newChannel,
|
||||
CHANGE_CHANNEL_CALLBACK callback,
|
||||
uint32_t *cbdata, tpPESession psessionEntry);
|
||||
|
||||
void lim_process_remain_on_chn_timeout(tpAniSirGlobal pMac);
|
||||
void lim_send_p2p_action_frame(tpAniSirGlobal pMac, struct scheduler_msg *pMsg);
|
||||
|
|
|
|||
Loading…
Reference in a new issue