rtl8xxxu: Use correct H2C calls for 8192eu
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 31 Mar 2016 21:08:41 +0000 (17:08 -0400)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Apr 2016 16:41:20 +0000 (19:41 +0300)
The 8192eu uses the same H2C API as the 8723bu. Call the correct
functions for update_rate_mask() and report_connect().

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 201f6cf..f2e32a7 100644 (file)
@@ -8525,8 +8525,8 @@ static struct rtl8xxxu_fileops rtl8192eu_fops = {
        .enable_rf = rtl8723b_enable_rf,
        .disable_rf = rtl8723b_disable_rf,
        .set_tx_power = rtl8723b_set_tx_power,
-       .update_rate_mask = rtl8723au_update_rate_mask,
-       .report_connect = rtl8723au_report_connect,
+       .update_rate_mask = rtl8723bu_update_rate_mask,
+       .report_connect = rtl8723bu_report_connect,
        .writeN_block_size = 128,
        .mbox_ext_reg = REG_HMBOX_EXT0_8723B,
        .mbox_ext_width = 4,