Commit 33e1748d authored by Mateusz Kulikowski's avatar Mateusz Kulikowski Committed by Greg Kroah-Hartman

staging: rtl8192e: Rename rtl8192_AllowAllDestAddr

Use naming schema found in other rtlwifi devices.
Rename rtl8192_AllowAllDestAddr to rtl92e_set_monitor_mode.
Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 46026629
......@@ -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);
......
......@@ -44,7 +44,7 @@ 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,
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,
......
......@@ -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;
......
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