qcacld-3.0: Rename __lim_is_defered_msg_for_radar()
Rename __lim_is_defered_msg_for_radar() to __lim_is_deferred_msg_for_radar() to fix misspelling: defered ==> deferred. In additional, fix other instances of that misspelling in code comments. Change-Id: I333fcb7a728bc9defce9e55e39153898f9b5035a CRs-Fixed: 3281814
This commit is contained in:
committed by
Madan Koyyalamudi
parent
2651cfff9d
commit
b50c8fa285
@@ -361,17 +361,17 @@ static bool __lim_is_sme_assoc_cnf_valid(struct assoc_cnf *assoc_cnf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* __lim_is_defered_msg_for_radar() - Defers the message if radar is detected
|
* __lim_is_deferred_msg_for_radar() - Defers the message if radar is detected
|
||||||
* @mac_ctx: Pointer to Global MAC structure
|
* @mac_ctx: Pointer to Global MAC structure
|
||||||
* @message: Pointer to message posted from SME to LIM.
|
* @message: Pointer to message posted from SME to LIM.
|
||||||
*
|
*
|
||||||
* Has role only if 11h is enabled. Not used on STA side.
|
* Has role only if 11h is enabled. Not used on STA side.
|
||||||
* Defers the message if radar is detected.
|
* Defers the message if radar is detected.
|
||||||
*
|
*
|
||||||
* Return: true, if defered otherwise return false.
|
* Return: true, if deferred otherwise return false.
|
||||||
*/
|
*/
|
||||||
static bool
|
static bool
|
||||||
__lim_is_defered_msg_for_radar(struct mac_context *mac_ctx,
|
__lim_is_deferred_msg_for_radar(struct mac_context *mac_ctx,
|
||||||
struct scheduler_msg *message)
|
struct scheduler_msg *message)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
@@ -1251,19 +1251,19 @@ free:
|
|||||||
* @pMsg: Message pointer
|
* @pMsg: Message pointer
|
||||||
*
|
*
|
||||||
* Wrapper for the function __lim_handle_sme_start_bss_request
|
* Wrapper for the function __lim_handle_sme_start_bss_request
|
||||||
* This message will be defered until softmac come out of
|
* This message will be deferred until softmac come out of
|
||||||
* scan mode or if we have detected radar on the current
|
* scan mode or if we have detected radar on the current
|
||||||
* operating channel.
|
* operating channel.
|
||||||
*
|
*
|
||||||
* return true - If we consumed the buffer
|
* return true - If we consumed the buffer
|
||||||
* false - If have defered the message.
|
* false - If have deferred the message.
|
||||||
*/
|
*/
|
||||||
static bool __lim_process_sme_start_bss_req(struct mac_context *mac,
|
static bool __lim_process_sme_start_bss_req(struct mac_context *mac,
|
||||||
struct scheduler_msg *pMsg)
|
struct scheduler_msg *pMsg)
|
||||||
{
|
{
|
||||||
if (__lim_is_defered_msg_for_radar(mac, pMsg)) {
|
if (__lim_is_deferred_msg_for_radar(mac, pMsg)) {
|
||||||
/**
|
/**
|
||||||
* If message defered, buffer is not consumed yet.
|
* If message deferred, buffer is not consumed yet.
|
||||||
* So return false
|
* So return false
|
||||||
*/
|
*/
|
||||||
return false;
|
return false;
|
||||||
@@ -6471,12 +6471,12 @@ __lim_handle_sme_stop_bss_request(struct mac_context *mac, uint32_t *msg_buf)
|
|||||||
* @pMsg: Message from SME
|
* @pMsg: Message from SME
|
||||||
*
|
*
|
||||||
* Wrapper for the function __lim_handle_sme_stop_bss_request
|
* Wrapper for the function __lim_handle_sme_stop_bss_request
|
||||||
* This message will be defered until softmac come out of
|
* This message will be deferred until softmac come out of
|
||||||
* scan mode. Message should be handled even if we have
|
* scan mode. Message should be handled even if we have
|
||||||
* detected radar in the current operating channel.
|
* detected radar in the current operating channel.
|
||||||
*
|
*
|
||||||
* Return: true - If we consumed the buffer
|
* Return: true - If we consumed the buffer
|
||||||
* false - If have defered the message.
|
* false - If have deferred the message.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static bool __lim_process_sme_stop_bss_req(struct mac_context *mac,
|
static bool __lim_process_sme_stop_bss_req(struct mac_context *mac,
|
||||||
|
|||||||
Reference in New Issue
Block a user