]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ath5k: fix extra set bit in multicast mask
authorBob Copeland <me@bobcopeland.com>
Thu, 11 Jul 2013 13:19:13 +0000 (09:19 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 18 Jul 2013 20:22:00 +0000 (16:22 -0400)
Bit 32 was always set which looks to have been accidental,
according to git history.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/mac80211-ops.c

index 81b686c6a3764111e8c8e969a90d36d6ced054ea..40825d43322edb511862c90bd2587395745852e7 100644 (file)
@@ -325,7 +325,7 @@ ath5k_prepare_multicast(struct ieee80211_hw *hw,
        struct netdev_hw_addr *ha;
 
        mfilt[0] = 0;
-       mfilt[1] = 1;
+       mfilt[1] = 0;
 
        netdev_hw_addr_list_for_each(ha, mc_list) {
                /* calculate XOR of eight 6-bit values */