qcacld-3.0: Fix style issues in wma_power.c
Checkpatch flaged the following issues, so fix them: - WARNING:LONG_LINE: line over 80 characters - ERROR:SPACING: space prohibited before that ',' (ctx:WxE) - WARNING:LINE_SPACING: Missing a blank line after declarations Change-Id: Ifb14eaa7828da997c35265deed5e94a2a2db9054 CRs-Fixed: 2125681
This commit is contained in:
@@ -318,7 +318,8 @@ QDF_STATUS wma_set_ap_peer_uapsd(tp_wma_handle wma, uint32_t vdev_id,
|
||||
* Return: none
|
||||
*/
|
||||
void wma_update_edca_params_for_ac(tSirMacEdcaParamRecord *edca_param,
|
||||
struct wmi_host_wme_vparams *wmm_param, int ac)
|
||||
struct wmi_host_wme_vparams *wmm_param,
|
||||
int ac)
|
||||
{
|
||||
#define WMA_WMM_EXPO_TO_VAL(val) ((1 << (val)) - 1)
|
||||
wmm_param->cwmin = WMA_WMM_EXPO_TO_VAL(edca_param->cw.min);
|
||||
@@ -1852,6 +1853,7 @@ static void wma_set_vdev_suspend_dtim(tp_wma_handle wma, uint8_t vdev_id)
|
||||
|
||||
/* get mac to acess CFG data base */
|
||||
struct sAniSirGlobal *mac = cds_get_context(QDF_MODULE_ID_PE);
|
||||
|
||||
if (!mac) {
|
||||
WMA_LOGE(FL("Failed to get mac context"));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user