]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix ieee80211_set_multicast_list
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 16 Nov 2007 00:49:11 +0000 (01:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Nov 2007 21:20:30 +0000 (16:20 -0500)
commit76d1bd24130f7cab462eb6dff49cc188c62e69ef
tree7455ca159f383f4a359d74a3dd5c08fcf8d216a1
parentfcc598784f1aa22be9d9f3979d3d5a2754c52128
mac80211: fix ieee80211_set_multicast_list

I recently experienced unexplainable behaviour with the b43
driver when I had broken firmware uploaded. The cause may have
been that promisc mode was not correctly enabled or disabled
and this bug may have been the cause.

Note how the values are compared later in the function so
just doing the & will result in the wrong thing being
compared and the test being false almost always.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211.c