staging: rtl8192e: Rename rtl8192_AllowAllDestAddr
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Sun, 19 Jul 2015 17:27:20 +0000 (19:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 04:24:10 +0000 (21:24 -0700)
Use naming schema found in other rtlwifi devices.
Rename rtl8192_AllowAllDestAddr to rtl92e_set_monitor_mode.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 2bc53ad..008782e 100644 (file)
@@ -1023,8 +1023,8 @@ void rtl8192_link_change(struct net_device *dev)
        }
 }
 
-void rtl8192_AllowAllDestAddr(struct net_device *dev,
-                             bool bAllowAllDA, bool WriteIntoReg)
+void rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA,
+                            bool WriteIntoReg)
 {
        struct r8192_priv *priv = rtllib_priv(dev);
 
index 48fbd4e..262f3b2 100644 (file)
@@ -44,8 +44,8 @@ void rtl8192e_SetHwReg(struct net_device *dev, u8 variable, u8 *val);
 void rtl8192_get_eeprom_size(struct net_device *dev);
 bool rtl92e_start_adapter(struct net_device *dev);
 void rtl8192_link_change(struct net_device *dev);
-void rtl8192_AllowAllDestAddr(struct net_device *dev, bool bAllowAllDA,
-                             bool WriteIntoReg);
+void rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA,
+                            bool WriteIntoReg);
 void  rtl8192_tx_fill_desc(struct net_device *dev, struct tx_desc *pdesc,
                           struct cb_desc *cb_desc,
                           struct sk_buff *skb);
index c5028cc..2ec43b5 100644 (file)
@@ -891,7 +891,7 @@ static void rtl8192_init_priv_handler(struct net_device *dev)
                                         rtl8192_GetHalfNmodeSupportByAPs;
 
        priv->rtllib->SetHwRegHandler = rtl8192e_SetHwReg;
-       priv->rtllib->AllowAllDestAddrHandler = rtl8192_AllowAllDestAddr;
+       priv->rtllib->AllowAllDestAddrHandler = rtl92e_set_monitor_mode;
        priv->rtllib->SetFwCmdHandler = NULL;
        priv->rtllib->InitialGainHandler = InitialGain819xPci;
        priv->rtllib->rtllib_ips_leave_wq = rtllib_ips_leave_wq;