mirror of https://gitee.com/openkylin/linux.git
ath5k: fix extra set bit in multicast mask
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>
This commit is contained in:
parent
6a08483926
commit
f287cbd01f
|
@ -325,7 +325,7 @@ ath5k_prepare_multicast(struct ieee80211_hw *hw,
|
||||||
struct netdev_hw_addr *ha;
|
struct netdev_hw_addr *ha;
|
||||||
|
|
||||||
mfilt[0] = 0;
|
mfilt[0] = 0;
|
||||||
mfilt[1] = 1;
|
mfilt[1] = 0;
|
||||||
|
|
||||||
netdev_hw_addr_list_for_each(ha, mc_list) {
|
netdev_hw_addr_list_for_each(ha, mc_list) {
|
||||||
/* calculate XOR of eight 6-bit values */
|
/* calculate XOR of eight 6-bit values */
|
||||||
|
|
Loading…
Reference in New Issue