rtlwifi: remove unused allow_all_destaddr functions
Unused as configure_filter takes care of setting/clearing RCR_AAP. In commit "rtlwifi: rtl8723be: rtl8723com: Remove unused allow_all_destaddr functions", Larry Finger removed allow_all_destaddr from the struct. This commit removes the related function too. Signed-off-by: Peter Wu <peter@lekensteyn.nl> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
f8b8a47e06
commit
83dc363806
@@ -2501,23 +2501,3 @@ void rtl8723be_suspend(struct ieee80211_hw *hw)
|
||||
void rtl8723be_resume(struct ieee80211_hw *hw)
|
||||
{
|
||||
}
|
||||
|
||||
/* Turn on AAP (RCR:bit 0) for promicuous mode. */
|
||||
void rtl8723be_allow_all_destaddr(struct ieee80211_hw *hw, bool allow_all_da,
|
||||
bool write_into_reg)
|
||||
{
|
||||
struct rtl_priv *rtlpriv = rtl_priv(hw);
|
||||
struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw));
|
||||
|
||||
if (allow_all_da) /* Set BIT0 */
|
||||
rtlpci->receive_config |= RCR_AAP;
|
||||
else /* Clear BIT0 */
|
||||
rtlpci->receive_config &= ~RCR_AAP;
|
||||
|
||||
if (write_into_reg)
|
||||
rtl_write_dword(rtlpriv, REG_RCR, rtlpci->receive_config);
|
||||
|
||||
RT_TRACE(rtlpriv, COMP_TURBO | COMP_INIT, DBG_LOUD,
|
||||
"receive_config = 0x%08X, write_into_reg =%d\n",
|
||||
rtlpci->receive_config, write_into_reg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user