diff options
author | Eugene Konev <ejka@imfi.kspu.ru> | 2007-10-16 09:26:58 +0000 |
---|---|---|
committer | Eugene Konev <ejka@imfi.kspu.ru> | 2007-10-16 09:26:58 +0000 |
commit | bb3ee9d8322f11dea634e0dd61c4573e66f33f00 (patch) | |
tree | 74ed0af025c6cc84aeab5a444f3debea351cb2a2 /package/acx-mac80211/patches | |
parent | 63c27908bf366fc6cc7a757187417b656c232a64 (diff) | |
download | upstream-bb3ee9d8322f11dea634e0dd61c4573e66f33f00.tar.gz upstream-bb3ee9d8322f11dea634e0dd61c4573e66f33f00.tar.bz2 upstream-bb3ee9d8322f11dea634e0dd61c4573e66f33f00.zip |
clear flags always
SVN-Revision: 9331
Diffstat (limited to 'package/acx-mac80211/patches')
-rw-r--r-- | package/acx-mac80211/patches/003-mac80211_fixes.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/acx-mac80211/patches/003-mac80211_fixes.diff b/package/acx-mac80211/patches/003-mac80211_fixes.diff index 2a81a96ac2..62052b352b 100644 --- a/package/acx-mac80211/patches/003-mac80211_fixes.diff +++ b/package/acx-mac80211/patches/003-mac80211_fixes.diff @@ -1,7 +1,7 @@ Index: acx-mac80211-20071003/common.c =================================================================== --- acx-mac80211-20071003.orig/common.c 2007-10-15 21:33:40.000000000 +0800 -+++ acx-mac80211-20071003/common.c 2007-10-15 21:39:55.000000000 +0800 ++++ acx-mac80211-20071003/common.c 2007-10-16 10:01:58.000000000 +0800 @@ -1683,7 +1683,9 @@ */ void @@ -17,12 +17,12 @@ Index: acx-mac80211-20071003/common.c acx_lock(adev, flags); ++ *total_flags &= (FIF_PROMISC_IN_BSS | FIF_ALLMULTI); + if ((changed_flags & (FIF_PROMISC_IN_BSS | FIF_ALLMULTI)) == 0) + return; /* firmwares don't have allmulti capability, * so just use promiscuous mode instead in this case. */ - if (netflags & (IFF_PROMISC | IFF_ALLMULTI)) { -+ *total_flags &= (FIF_PROMISC_IN_BSS | FIF_ALLMULTI); + if (*total_flags) { SET_BIT(adev->rx_config_1, RX_CFG1_RCV_PROMISCUOUS); CLEAR_BIT(adev->rx_config_1, RX_CFG1_FILTER_ALL_MULTI); |