]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: retain promiscuous setting
authorBob Copeland <me@bobcopeland.com>
Fri, 4 Jun 2010 12:14:14 +0000 (08:14 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Jun 2010 19:50:52 +0000 (15:50 -0400)
commit09e530d234780f91038b72ed7f8974922a380208
treeee5ee475145c3191e69cf8ada14ed6c0ee513f89
parentcac158b78855562ea2bc710a2d2a4a8fd25fb89d
ath5k: retain promiscuous setting

Commit 08f75adb96569c28e8b920feae7c9f6a4dc566e7, "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.

Cc: stable@kernel.org
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>
drivers/net/wireless/ath/ath5k/base.c