Staging: rtl8192e: Rename variable ScanOperationBackupHandler
Rename variable ScanOperationBackupHandler to scan_operation_backup_handler to fix checkpatch warning Avoid CamelCase. Signed-off-by: Tree Davies <tdavies@darkphysics.net> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/20240908192633.94144-9-tdavies@darkphysics.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
86ad674dfa
commit
de510b7769
@ -665,7 +665,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev)
|
||||
priv->rtllib->init_gain_handler = rtl92e_init_gain;
|
||||
priv->rtllib->rtllib_ips_leave_wq = rtl92e_rtllib_ips_leave_wq;
|
||||
priv->rtllib->rtllib_ips_leave = rtl92e_rtllib_ips_leave;
|
||||
priv->rtllib->ScanOperationBackupHandler = rtl92e_scan_op_backup;
|
||||
priv->rtllib->scan_operation_backup_handler = rtl92e_scan_op_backup;
|
||||
}
|
||||
|
||||
static void _rtl92e_init_priv_variable(struct net_device *dev)
|
||||
|
@ -288,11 +288,11 @@ static int _rtl92e_wx_set_scan(struct net_device *dev,
|
||||
if (priv->rtllib->rf_power_state != rf_off) {
|
||||
priv->rtllib->actscanning = true;
|
||||
|
||||
ieee->ScanOperationBackupHandler(ieee->dev, SCAN_OPT_BACKUP);
|
||||
ieee->scan_operation_backup_handler(ieee->dev, SCAN_OPT_BACKUP);
|
||||
|
||||
rtllib_start_scan_syncro(priv->rtllib);
|
||||
|
||||
ieee->ScanOperationBackupHandler(ieee->dev, SCAN_OPT_RESTORE);
|
||||
ieee->scan_operation_backup_handler(ieee->dev, SCAN_OPT_RESTORE);
|
||||
}
|
||||
ret = 0;
|
||||
} else {
|
||||
|
@ -1461,7 +1461,7 @@ struct rtllib_device {
|
||||
bool (*get_half_nmode_support_by_aps_handler)(struct net_device *dev);
|
||||
u8 (*rtllib_ap_sec_type)(struct rtllib_device *ieee);
|
||||
void (*init_gain_handler)(struct net_device *dev, u8 Operation);
|
||||
void (*ScanOperationBackupHandler)(struct net_device *dev,
|
||||
void (*scan_operation_backup_handler)(struct net_device *dev,
|
||||
u8 Operation);
|
||||
void (*set_hw_reg_handler)(struct net_device *dev, u8 variable, u8 *val);
|
||||
|
||||
|
@ -314,7 +314,7 @@ void rtllib_wx_sync_scan_wq(void *data)
|
||||
/* wait for ps packet to be kicked out successfully */
|
||||
msleep(50);
|
||||
|
||||
ieee->ScanOperationBackupHandler(ieee->dev, SCAN_OPT_BACKUP);
|
||||
ieee->scan_operation_backup_handler(ieee->dev, SCAN_OPT_BACKUP);
|
||||
|
||||
if (ieee->ht_info->current_ht_support && ieee->ht_info->enable_ht &&
|
||||
ieee->ht_info->cur_bw_40mhz) {
|
||||
@ -339,7 +339,7 @@ void rtllib_wx_sync_scan_wq(void *data)
|
||||
ieee->set_chan(ieee->dev, chan);
|
||||
}
|
||||
|
||||
ieee->ScanOperationBackupHandler(ieee->dev, SCAN_OPT_RESTORE);
|
||||
ieee->scan_operation_backup_handler(ieee->dev, SCAN_OPT_RESTORE);
|
||||
|
||||
ieee->link_state = MAC80211_LINKED;
|
||||
ieee->link_change(ieee->dev);
|
||||
|
Loading…
Reference in New Issue
Block a user