1
linux/drivers/staging/rt2870
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
2870_main_dev.c staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
aironet.h
ap.h
chlist.h
dfs.h
Kconfig
leap.h
link_list.h
Makefile
md4.h
md5.h
mlme.h
netif_block.h
oid.h
rt28xx.h
rt2870.h
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: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -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
sta_ioctl.c.patch
tmp60 staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
tmp61 staging: __FUNCTION__ is gcc-specific, use __func__ 2009-01-07 15:48:54 -08:00
TODO
wpa.h