Changeset 9331


Ignore:
Timestamp:
2007-10-16T11:26:58+02:00 (10 years ago)
Author:
ejka
Message:

clear flags always

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/acx-mac80211/patches/003-mac80211_fixes.diff

    r9326 r9331  
    22=================================================================== 
    33--- acx-mac80211-20071003.orig/common.c 2007-10-15 21:33:40.000000000 +0800 
    4 +++ acx-mac80211-20071003/common.c      2007-10-15 21:39:55.000000000 +0800 
     4+++ acx-mac80211-20071003/common.c      2007-10-16 10:01:58.000000000 +0800 
    55@@ -1683,7 +1683,9 @@ 
    66 */ 
     
    1818         acx_lock(adev, flags); 
    1919  
     20+        *total_flags &= (FIF_PROMISC_IN_BSS | FIF_ALLMULTI); 
    2021+        if ((changed_flags & (FIF_PROMISC_IN_BSS | FIF_ALLMULTI)) == 0) 
    2122+                return; 
     
    2324          * so just use promiscuous mode instead in this case. */ 
    2425-        if (netflags & (IFF_PROMISC | IFF_ALLMULTI)) { 
    25 +        *total_flags &= (FIF_PROMISC_IN_BSS | FIF_ALLMULTI); 
    2626+        if (*total_flags) { 
    2727                 SET_BIT(adev->rx_config_1, RX_CFG1_RCV_PROMISCUOUS); 
Note: See TracChangeset for help on using the changeset viewer.