Browse Source

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
Jeff Johnson 7 years ago
parent
commit
aadd789840
1 changed files with 4 additions and 2 deletions
  1. 4 2
      core/wma/src/wma_power.c

+ 4 - 2
core/wma/src/wma_power.c

@@ -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);
@@ -1820,7 +1821,7 @@ static void wma_configure_vdev_suspend_params(tp_wma_handle wma,
 
 	if (ito_repeat_count_value) {
 		ret = wma_unified_set_sta_ps_param(wma->wmi_handle, vdev_id,
-			WMI_STA_PS_PARAM_MAX_RESET_ITO_COUNT_ON_TIM_NO_TXRX ,
+			WMI_STA_PS_PARAM_MAX_RESET_ITO_COUNT_ON_TIM_NO_TXRX,
 			ito_repeat_count_value);
 		WMA_LOGD("%s: Setting ito_repeat_count_value %d.", __func__,
 				ito_repeat_count_value);
@@ -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;