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)
commit6b5dcccb495b66b3b0b9581cdccfed038e5d68a2
treeee5ee475145c3191e69cf8ada14ed6c0ee513f89
parente307139d7ad532761cdbf2a665f3c53c509a2d0e
ath5k: retain promiscuous setting

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.

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