rtl8xxxu: Rename rtl8723au_config_channel() to rtl8xxxu_gen1_config_channel()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 18 Apr 2016 15:49:27 +0000 (11:49 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 Apr 2016 09:26:46 +0000 (12:26 +0300)
All supported gen1 parts use the same config_channel() function, so
rename it to reflect this.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c

index 0d2beef089ff3a5376db356f280cd2e3fd7f9e15..e7f8039abe8053f12761854a65ef1c990baed777 100644 (file)
@@ -2223,7 +2223,7 @@ static int rtl8723b_channel_to_group(int channel)
        return group;
 }
 
-static void rtl8723au_config_channel(struct ieee80211_hw *hw)
+static void rtl8xxxu_gen1_config_channel(struct ieee80211_hw *hw)
 {
        struct rtl8xxxu_priv *priv = hw->priv;
        u32 val32, rsr;
@@ -9883,7 +9883,7 @@ static struct rtl8xxxu_fileops rtl8723au_fops = {
        .init_phy_bb = rtl8723au_init_phy_bb,
        .init_phy_rf = rtl8723au_init_phy_rf,
        .phy_iq_calibrate = rtl8723au_phy_iq_calibrate,
-       .config_channel = rtl8723au_config_channel,
+       .config_channel = rtl8xxxu_gen1_config_channel,
        .parse_rx_desc = rtl8xxxu_parse_rxdesc16,
        .enable_rf = rtl8723a_enable_rf,
        .disable_rf = rtl8xxxu_gen1_disable_rf,
@@ -9955,7 +9955,7 @@ static struct rtl8xxxu_fileops rtl8192cu_fops = {
        .init_phy_bb = rtl8723au_init_phy_bb,
        .init_phy_rf = rtl8192cu_init_phy_rf,
        .phy_iq_calibrate = rtl8723au_phy_iq_calibrate,
-       .config_channel = rtl8723au_config_channel,
+       .config_channel = rtl8xxxu_gen1_config_channel,
        .parse_rx_desc = rtl8xxxu_parse_rxdesc16,
        .enable_rf = rtl8723a_enable_rf,
        .disable_rf = rtl8xxxu_gen1_disable_rf,
This page took 0.032173 seconds and 5 git commands to generate.