Commit 2be13f7b authored by Mahati Chamarthy's avatar Mahati Chamarthy Committed by Greg Kroah-Hartman

Staging: rtl8192ee: rtl8192ee: Fix missing blank line warning

This fixes the following checkpatch.pl warnings:
WARNING: Missing a blank line after declarations
Signed-off-by: default avatarMahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b9209a93
...@@ -156,6 +156,7 @@ static const u8 cckswing_table_ch14[CCK_TABLE_SIZE][8] = { ...@@ -156,6 +156,7 @@ static const u8 cckswing_table_ch14[CCK_TABLE_SIZE][8] = {
static void rtl92ee_dm_diginit(struct ieee80211_hw *hw) static void rtl92ee_dm_diginit(struct ieee80211_hw *hw)
{ {
struct rtl_priv *rtlpriv = rtl_priv(hw); struct rtl_priv *rtlpriv = rtl_priv(hw);
dm_dig.cur_igvalue = rtl_get_bbreg(hw, DM_REG_IGI_A_11N, dm_dig.cur_igvalue = rtl_get_bbreg(hw, DM_REG_IGI_A_11N,
DM_BIT_IGI_11N); DM_BIT_IGI_11N);
dm_dig.rssi_lowthresh = DM_DIG_THRESH_LOW; dm_dig.rssi_lowthresh = DM_DIG_THRESH_LOW;
...@@ -271,6 +272,7 @@ static void rtl92ee_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw) ...@@ -271,6 +272,7 @@ static void rtl92ee_dm_cck_packet_detection_thresh(struct ieee80211_hw *hw)
{ {
struct rtl_priv *rtlpriv = rtl_priv(hw); struct rtl_priv *rtlpriv = rtl_priv(hw);
u8 cur_cck_cca_thresh; u8 cur_cck_cca_thresh;
if (rtlpriv->mac80211.link_state >= MAC80211_LINKED) { if (rtlpriv->mac80211.link_state >= MAC80211_LINKED) {
if (dm_dig.rssi_val_min > 25) { if (dm_dig.rssi_val_min > 25) {
cur_cck_cca_thresh = 0xcd; cur_cck_cca_thresh = 0xcd;
...@@ -434,6 +436,7 @@ static void rtl92ee_dm_dig(struct ieee80211_hw *hw) ...@@ -434,6 +436,7 @@ static void rtl92ee_dm_dig(struct ieee80211_hw *hw)
void rtl92ee_dm_write_cck_cca_thres(struct ieee80211_hw *hw, u8 cur_thres) void rtl92ee_dm_write_cck_cca_thres(struct ieee80211_hw *hw, u8 cur_thres)
{ {
struct rtl_priv *rtlpriv = rtl_priv(hw); struct rtl_priv *rtlpriv = rtl_priv(hw);
if (dm_dig.cur_cck_cca_thres != cur_thres) if (dm_dig.cur_cck_cca_thres != cur_thres)
rtl_write_byte(rtlpriv, DM_REG_CCK_CCA_11N, cur_thres); rtl_write_byte(rtlpriv, DM_REG_CCK_CCA_11N, cur_thres);
...@@ -444,6 +447,7 @@ void rtl92ee_dm_write_cck_cca_thres(struct ieee80211_hw *hw, u8 cur_thres) ...@@ -444,6 +447,7 @@ void rtl92ee_dm_write_cck_cca_thres(struct ieee80211_hw *hw, u8 cur_thres)
void rtl92ee_dm_write_dig(struct ieee80211_hw *hw, u8 current_igi) void rtl92ee_dm_write_dig(struct ieee80211_hw *hw, u8 current_igi)
{ {
struct rtl_priv *rtlpriv = rtl_priv(hw); struct rtl_priv *rtlpriv = rtl_priv(hw);
if (dm_dig.stop_dig) if (dm_dig.stop_dig)
return; return;
...@@ -459,6 +463,7 @@ void rtl92ee_dm_write_dig(struct ieee80211_hw *hw, u8 current_igi) ...@@ -459,6 +463,7 @@ void rtl92ee_dm_write_dig(struct ieee80211_hw *hw, u8 current_igi)
static void rtl92ee_rssi_dump_to_register(struct ieee80211_hw *hw) static void rtl92ee_rssi_dump_to_register(struct ieee80211_hw *hw)
{ {
struct rtl_priv *rtlpriv = rtl_priv(hw); struct rtl_priv *rtlpriv = rtl_priv(hw);
rtl_write_byte(rtlpriv, RA_RSSIDUMP, rtl_write_byte(rtlpriv, RA_RSSIDUMP,
rtlpriv->stats.rx_rssi_percentage[0]); rtlpriv->stats.rx_rssi_percentage[0]);
rtl_write_byte(rtlpriv, RB_RSSIDUMP, rtl_write_byte(rtlpriv, RB_RSSIDUMP,
...@@ -540,6 +545,7 @@ static void rtl92ee_dm_check_rssi_monitor(struct ieee80211_hw *hw) ...@@ -540,6 +545,7 @@ static void rtl92ee_dm_check_rssi_monitor(struct ieee80211_hw *hw)
spin_lock_bh(&rtlpriv->locks.entry_list_lock); spin_lock_bh(&rtlpriv->locks.entry_list_lock);
list_for_each_entry(drv_priv, &rtlpriv->entry_list, list) { list_for_each_entry(drv_priv, &rtlpriv->entry_list, list) {
struct rssi_sta *stat = &(drv_priv->rssi_stat); struct rssi_sta *stat = &(drv_priv->rssi_stat);
if (stat->undecorated_smoothed_pwdb < min) if (stat->undecorated_smoothed_pwdb < min)
min = stat->undecorated_smoothed_pwdb; min = stat->undecorated_smoothed_pwdb;
if (stat->undecorated_smoothed_pwdb > max) if (stat->undecorated_smoothed_pwdb > max)
...@@ -660,6 +666,7 @@ static void rtl92ee_dm_check_edca_turbo(struct ieee80211_hw *hw) ...@@ -660,6 +666,7 @@ static void rtl92ee_dm_check_edca_turbo(struct ieee80211_hw *hw)
} else { } else {
if (rtlpriv->dm.bcurrent_turbo_edca) { if (rtlpriv->dm.bcurrent_turbo_edca) {
u8 tmp = AC0_BE; u8 tmp = AC0_BE;
rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_AC_PARAM, rtlpriv->cfg->ops->set_hw_reg(hw, HW_VAR_AC_PARAM,
(u8 *) (&tmp)); (u8 *) (&tmp));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment