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: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Larry Finger 2013-09-26 13:25:28 -05:00 committed by John W. Linville
parent 4f4826da8c
commit 5784935dd7
1 changed files with 2 additions and 1 deletions

View File

@ -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,