]> git.baikalelectronics.ru Git - kernel.git/commit
orinoco: Multicast to the specified addresses
authorDavid Kilroy <kilroyd@gmail.com>
Sat, 23 Aug 2008 18:03:34 +0000 (19:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 2 Sep 2008 21:39:49 +0000 (17:39 -0400)
commit8e7872ccde88ebc2da36819e9e5b23a76cc3f89f
tree27a014eb95da100aa3f196a3c0beeafe5c811183
parentc6bbd9297e488b2e0be500630a6f3c583a8ab922
orinoco: Multicast to the specified addresses

When multicasting the driver sets the number of group addresses using
the count from the previous set multicast command. In general this means
you have to set the multicast addresses twice to get the behaviour you
want.

If we were multicasting, and reduce the number of addresses we are
multicasting to, then the driver would write uninitialised data from the
stack into the group addresses to multicast to.

Only write the multicast addresses we have specifically set.

Signed-off-by: David Kilroy <kilroyd@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco.c