linux/drivers/staging/rtl8192u/ieee80211
Dan Carpenter cbf2f545d7 staging: rtl8192u: fix a macro expansion bug
Clang detected this macro expansion bug:
drivers/staging/rtl8192u/r8192U_core.c:2384:76: warning: operator '?:'
	has lower precedence than '+'; '+' will be evaluated first
	[-Wparentheses]

The line from the .c file looks like this:
	u1bAIFS = qos_parameters->aifs[i] * ((mode&(IEEE_G|IEEE_N_24G)) ?9:20) + aSifsTime;

We need to put parenthesis around the entire macro to fix the bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-22 11:39:22 -07:00
..
EndianFree.h
Makefile
aes.c
arc4.c
autoload.c
cipher.c
compress.c
crypto_compat.h
digest.c
dot11d.c
dot11d.h
ieee80211.h staging: rtl8192u: fix a macro expansion bug 2012-10-22 11:39:22 -07:00
ieee80211_crypt.c
ieee80211_crypt.h
ieee80211_crypt_ccmp.c
ieee80211_crypt_tkip.c
ieee80211_crypt_wep.c
ieee80211_module.c
ieee80211_rx.c staging: Remove test of is_broadcast with is_multicast 2012-05-09 13:52:23 -07:00
ieee80211_softmac.c staging: Fix misspellings of "whether". 2012-09-21 08:56:40 -07:00
ieee80211_softmac_wx.c Staging: rtl8192u: use is_zero_ether_addr() instead of memcmp() 2012-09-04 14:09:01 -07:00
ieee80211_tx.c staging: Remove test of is_broadcast with is_multicast 2012-05-09 13:52:23 -07:00
ieee80211_wx.c
internal.h
michael_mic.c
proc.c
rtl819x_BA.h
rtl819x_BAProc.c staging: rtl8192u: Fix typo in staging/rtl8192u 2012-08-13 19:32:13 -07:00
rtl819x_HT.h staging: rtl8192u: Fix typo in staging/rtl8192u 2012-08-13 19:32:13 -07:00
rtl819x_HTProc.c staging: rtl8192u: Fix typo in staging/rtl8192u 2012-08-13 19:32:13 -07:00
rtl819x_Qos.h
rtl819x_TS.h
rtl819x_TSProc.c staging: Remove test of is_broadcast with is_multicast 2012-05-09 13:52:23 -07:00
rtl_crypto.h
scatterwalk.c
scatterwalk.h