]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
libertas: precedence bug
authorDan Carpenter <error27@gmail.com>
Thu, 22 Jul 2010 12:21:02 +0000 (14:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Jul 2010 19:32:42 +0000 (15:32 -0400)
commitbd75eb854300c7e09eaf067572498abdeb9d3424
tree1eaad785eaa8e8e36b72eae250a9510d51681b42
parent3be61a3851c458fb4ce394645e26e8e9670c796a
libertas: precedence bug

Negate has precedence over comparison so the original test was always
false.  (Neither 0 nor 1 are equal to NL80211_IFTYPE_MONITOR).

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/tx.c