]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ath5k: don't reset mcast filter when configuring the mode
authorBob Copeland <me@bobcopeland.com>
Mon, 9 Nov 2009 02:59:00 +0000 (21:59 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Nov 2009 21:21:13 +0000 (16:21 -0500)
commitbcfc56a8be48501810eba992937cabdcdb989297
tree278d2e0f747cdfa86e1f228471749f1704758342
parente1a6542f24fad84a132f79e13ca452c37df857c4
ath5k: don't reset mcast filter when configuring the mode

We should not zero out the multicast hash when configuring
the operating mode, since a zero value means all multicast
frames will get dropped.  Also, ath5k_mode_setup() gets
called after any reset, so the hash already set up in
configure_filter() is lost.

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