]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath5k: retain promiscuous setting
authorBob Copeland <me@bobcopeland.com>
Fri, 4 Jun 2010 12:14:14 +0000 (08:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:44 +0000 (11:22 -0700)
commit141a0aa6f43af935e8754178462ea1ebbce12bf5
tree9c4e5126541a1c36ed9608136884160b4255fb12
parent9fff6bc91515aa9027e1ca4d37a4754964a6c875
ath5k: retain promiscuous setting

commit 6b5dcccb495b66b3b0b9581cdccfed038e5d68a2 upstream.

Commit 56d1de0a21db28e41741cfa0a66e18bc8d920554, "ath5k: clean up
filter flags setting" introduced a regression in monitor mode such
that the promisc filter flag would get lost.

Although we set the promisc flag when it changed, we did not
preserve it across subsequent calls to configure_filter.  This patch
restores the original functionality.

Bisected-by: weedy2887@gmail.com
Tested-by: weedy2887@gmail.com
Tested-by: Rick Farina <sidhayn@gmail.com>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath5k/base.c