]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit667d41008eb8a0e1d495d6c0a6143b43fe587c98
tree27a014eb95da100aa3f196a3c0beeafe5c811183
parentf0b9f5cb4adcec9424142592ca7bf024fe6c91a9
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