Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5784935d authored by Larry Finger's avatar Larry Finger Committed by John W. Linville
Browse files

rtlwifi: rtl8192cu: Convert to use new rtl_phy_scan_operation_backup() routine



Now that the routine exists in driver rtlwifi, convert rtl8192cu to use it.

Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4f4826da
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -31,6 +31,7 @@
#include "../core.h"
#include "../core.h"
#include "../usb.h"
#include "../usb.h"
#include "../efuse.h"
#include "../efuse.h"
#include "../base.h"
#include "reg.h"
#include "reg.h"
#include "def.h"
#include "def.h"
#include "phy.h"
#include "phy.h"
@@ -117,7 +118,7 @@ static struct rtl_hal_ops rtl8192cu_hal_ops = {
	.set_bw_mode = rtl92c_phy_set_bw_mode,
	.set_bw_mode = rtl92c_phy_set_bw_mode,
	.switch_channel = rtl92c_phy_sw_chnl,
	.switch_channel = rtl92c_phy_sw_chnl,
	.dm_watchdog = rtl92c_dm_watchdog,
	.dm_watchdog = rtl92c_dm_watchdog,
	.scan_operation_backup = rtl92c_phy_scan_operation_backup,
	.scan_operation_backup = rtl_phy_scan_operation_backup,
	.set_rf_power_state = rtl92cu_phy_set_rf_power_state,
	.set_rf_power_state = rtl92cu_phy_set_rf_power_state,
	.led_control = rtl92cu_led_control,
	.led_control = rtl92cu_led_control,
	.enable_hw_sec = rtl92cu_enable_hw_security_config,
	.enable_hw_sec = rtl92cu_enable_hw_security_config,