]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix likely misuse of | for &
authorJoe Perches <joe@perches.com>
Wed, 30 May 2012 20:25:54 +0000 (13:25 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 4 Jun 2012 19:25:56 +0000 (15:25 -0400)
commit12b8f36213a59bf36fb0b846b9590ca25dbd2eab
tree316823693d721e2095fbedaf7498057c008307a0
parent2c71f9e4bc5e48c7bbc43e2e71dd738593c0a32d
mac80211: Fix likely misuse of | for &

Using | with a constant is always true.
Likely this should have be &.

cc: Ben Greear <greearb@candelatech.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c