1
linux/drivers/staging/rt2860
Julia Lawall 7034ca4dda Staging: rt2860,rt2870: Correct use of ! and &
IW_ENCODE_MODE is 0xF000 and thus !erq->flags & IW_ENCODE_MODE is always 0.
I assume that !(erq->flags & IW_ENCODE_MODE) was intended.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@ expression E; constant C; @@
(
  !E & !C
|
- !E & C
+ !(E & C)
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-04-03 14:53:30 -07:00
..
common staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
sta Staging: rt2860: Fix minor compiler warnings 2009-01-06 13:52:12 -08:00
2860_main_dev.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
aironet.h
ap.h
chlist.h
config.mk
dfs.h
Kconfig
leap.h
link_list.h
Makefile Staging: rt2860: enable WPA_SUPPLICANT support 2009-01-06 13:52:12 -08:00
md4.h
md5.h
mlme.h
oid.h
rt28xx.h
rt2860.h Staging: rt2860: fix up netdev->priv usage 2009-01-06 13:52:12 -08:00
rt_ate.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
rt_ate.h
rt_config.h
rt_linux.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
rt_linux.h Staging: remove duplicated #include's 2009-04-03 14:53:26 -07:00
rt_main_dev.c Staging: rt2860: fix up netdev->priv usage 2009-01-06 13:52:12 -08:00
rt_profile.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
rtmp_ckipmic.h
rtmp_def.h staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
rtmp_type.h
rtmp.h
spectrum_def.h
spectrum.h
sta_ioctl.c Staging: rt2860,rt2870: Correct use of ! and & 2009-04-03 14:53:30 -07:00
TODO
wpa.h