• Johannes Berg's avatar
    iwlwifi: fix multicast · d1e89f37
    Johannes Berg authored
    commit 3474ad63
    Author: Johannes Berg <johannes.berg@intel.com>
    Date:   Thu Apr 29 04:43:05 2010 -0700
    
        iwlwifi: apply filter flags directly
    
    broke multicast. The reason, it turns out, is that
    the code previously checked if ALLMULTI _changed_,
    which the new code no longer did, and normally it
    _never_ changes. Had somebody changed it manually,
    the code prior to my patch there would have been
    broken already.
    
    The reason is that we always, unconditionally, ask
    the device to pass up all multicast frames, but the
    new code made it depend on ALLMULTI which broke it
    since now we'd pass up multicast frames depending
    on the default filter in the device, which isn't
    necessarily what we want (since we don't program it
    right now).
    
    Fix this by simply not checking allmulti as we have
    allmulti behaviour enabled already anyway.
    Reported-by: default avatarMaxim Levitsky <maximlevitsky@gmail.com>
    Tested-by: default avatarMaxim Levitsky <maximlevitsky@gmail.com>
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    d1e89f37
iwl-core.c 81.6 KB