staging: rtl8192e: Rename rtl8192_AllowAllDestAddr

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>
This commit is contained in:
Mateusz Kulikowski 2015-07-19 19:27:20 +02:00 committed by Greg Kroah-Hartman
parent 460266292d
commit 33e1748d8f
3 changed files with 5 additions and 5 deletions

View 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);

View 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);

View 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;