Commit a033871a authored by Tree Davies's avatar Tree Davies Committed by Greg Kroah-Hartman

Staging: rtl8192e: Rename reference AllowAllDestAddrHandler

Rename variable AllowAllDestAddrHandler to allow_all_dest_addr_handler
to fix checkpatch warning Avoid CamelCase,
Signed-off-by: default avatarTree Davies <tdavies@darkphysics.net>
Tested-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/20240227044157.407379-19-tdavies@darkphysics.netSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 99c7328a
...@@ -661,7 +661,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev) ...@@ -661,7 +661,7 @@ static void _rtl92e_init_priv_handler(struct net_device *dev)
rtl92e_is_halfn_supported_by_ap; rtl92e_is_halfn_supported_by_ap;
priv->rtllib->set_hw_reg_handler = rtl92e_set_reg; priv->rtllib->set_hw_reg_handler = rtl92e_set_reg;
priv->rtllib->AllowAllDestAddrHandler = rtl92e_set_monitor_mode; priv->rtllib->allow_all_dest_addr_handler = rtl92e_set_monitor_mode;
priv->rtllib->init_gain_handler = rtl92e_init_gain; priv->rtllib->init_gain_handler = rtl92e_init_gain;
priv->rtllib->rtllib_ips_leave_wq = rtl92e_rtllib_ips_leave_wq; priv->rtllib->rtllib_ips_leave_wq = rtl92e_rtllib_ips_leave_wq;
priv->rtllib->rtllib_ips_leave = rtl92e_rtllib_ips_leave; priv->rtllib->rtllib_ips_leave = rtl92e_rtllib_ips_leave;
......
...@@ -1476,8 +1476,9 @@ struct rtllib_device { ...@@ -1476,8 +1476,9 @@ struct rtllib_device {
u8 Operation); u8 Operation);
void (*set_hw_reg_handler)(struct net_device *dev, u8 variable, u8 *val); void (*set_hw_reg_handler)(struct net_device *dev, u8 variable, u8 *val);
void (*AllowAllDestAddrHandler)(struct net_device *dev, void (*allow_all_dest_addr_handler)(struct net_device *dev,
bool bAllowAllDA, bool WriteIntoReg); bool bAllowAllDA,
bool WriteIntoReg);
void (*rtllib_ips_leave_wq)(struct net_device *dev); void (*rtllib_ips_leave_wq)(struct net_device *dev);
void (*rtllib_ips_leave)(struct net_device *dev); void (*rtllib_ips_leave)(struct net_device *dev);
......
...@@ -355,7 +355,7 @@ void rtllib_enable_net_monitor_mode(struct net_device *dev, ...@@ -355,7 +355,7 @@ void rtllib_enable_net_monitor_mode(struct net_device *dev,
netdev_info(dev, "========>Enter Monitor Mode\n"); netdev_info(dev, "========>Enter Monitor Mode\n");
ieee->AllowAllDestAddrHandler(dev, true, !init_state); ieee->allow_all_dest_addr_handler(dev, true, !init_state);
} }
/* Disables network monitor mode. Only packets destinated to /* Disables network monitor mode. Only packets destinated to
...@@ -367,7 +367,7 @@ void rtllib_disable_net_monitor_mode(struct net_device *dev, bool init_state) ...@@ -367,7 +367,7 @@ void rtllib_disable_net_monitor_mode(struct net_device *dev, bool init_state)
netdev_info(dev, "========>Exit Monitor Mode\n"); netdev_info(dev, "========>Exit Monitor Mode\n");
ieee->AllowAllDestAddrHandler(dev, false, !init_state); ieee->allow_all_dest_addr_handler(dev, false, !init_state);
} }
static void rtllib_send_probe(struct rtllib_device *ieee) static void rtllib_send_probe(struct rtllib_device *ieee)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment