From: Bob Copeland Date: Tue, 25 Aug 2009 03:00:30 +0000 (-0400) Subject: ath5k: clean up filter flags setting X-Git-Tag: v2.6.32-rc1~703^2~275^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56d1de0a21db28e41741cfa0a66e18bc8d920554;p=pandora-kernel.git ath5k: clean up filter flags setting The maze of if() statements in configure_filter is confusing. Reorganizing it as a switch statement makes it more apparent what is going on and reveals several suspicious settings. This has no functional changes, though it does remove some redundant flags that are set earlier. Also now that we can sleep, protect sc->filter_flags with the sc lock. Signed-off-by: Bob Copeland Signed-off-by: John W. Linville --- Reading git-diff-tree failed