aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-15 00:20:44 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-16 08:47:48 -0700
commit4575efeebc7c614b981f7a399b2ba614fad39689 (patch)
tree884cea9a1ea830a5d4a9fcdc46dceea91fe8b10a /net/mac80211
parentc229e2f6bab8ed64bf44110831d36221c648e1bf (diff)
downloadkernel_samsung_aries-4575efeebc7c614b981f7a399b2ba614fad39689.zip
kernel_samsung_aries-4575efeebc7c614b981f7a399b2ba614fad39689.tar.gz
kernel_samsung_aries-4575efeebc7c614b981f7a399b2ba614fad39689.tar.bz2
can: c_can: precedence error in c_can_chip_config()
commit d9cb9bd63eb27ac19f26a8547128c053f43a5da8 upstream. (CAN_CTRLMODE_LISTENONLY & CAN_CTRLMODE_LOOPBACK) is (0x02 & 0x01) which is zero so the condition is never true. The intent here was to test that both flags were set. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions