Skip to content

Commit

Permalink
rtlwifi: rtl8192cu: remove unused arguments from _beacon_function_ena…
Browse files Browse the repository at this point in the history
…ble()

Remove unnecessary parameter in rtl8192cu/hw.c

Signed-off-by: Taehee Yoo <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
  • Loading branch information
TaeheeYoo authored and Kalle Valo committed Mar 13, 2015
1 parent 76830b2 commit 708c964
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1471,8 +1471,7 @@ static void _InitBeaconParameters(struct ieee80211_hw *hw)
rtl_write_word(rtlpriv, REG_BCNTCFG, 0x66FF);
}

static void _beacon_function_enable(struct ieee80211_hw *hw, bool Enable,
bool Linked)
static void _beacon_function_enable(struct ieee80211_hw *hw)
{
struct rtl_priv *rtlpriv = rtl_priv(hw);

Expand Down Expand Up @@ -1517,7 +1516,7 @@ void rtl92cu_set_beacon_related_registers(struct ieee80211_hw *hw)
rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_CCK, 0x50);
rtl_write_byte(rtlpriv, REG_RXTSF_OFFSET_OFDM, 0x50);
}
_beacon_function_enable(hw, true, true);
_beacon_function_enable(hw);
}

void rtl92cu_set_beacon_interval(struct ieee80211_hw *hw)
Expand Down

0 comments on commit 708c964

Please sign in to comment.