OpenCloudOS-Kernel/drivers/staging/csr
Tobias Polzer 0a58857707 staging: csr: Fix obvious logic error in staging/csr
In uf_process_ma_packet_req() (staging/csr/unifi_pdu_processing.c), the
test for
(staInfo->timSet != CSR_WIFI_TIM_RESET) || (staInfo->timSet !=
CSR_WIFI_TIM_RESETTING)
obviously makes no sense and causes GCC to emit a warning if
-Wlogical-op is enabled.
As suggested in the referenced bug report, || was replaced by &&.

References: https://bugzilla.kernel.org/show_bug.cgi?id=46571
Reported-By: David Binderman <dcb314@hotmail.com>
Signed-off-by: Tobias Polzer <tobias.polzer@fau.de>
Signed-off-by: Dominik Paulus <dominik.paulus@fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-17 14:48:12 -07:00
..
Kconfig staging: csr: add INET dependancy 2012-08-14 16:53:21 -07:00
LICENSE.txt
Makefile staging: csr: remove csrPanic and CSR_LOG_ASSERT and CSR_LOG_ASSERT_ENABLE 2012-10-26 09:07:46 -07:00
bh.c Staging: csr: fix indentation style issue in bh.c 2013-05-30 21:09:57 +09:00
csr_framework_ext.c staging: csr: fix indentation code style issue in csr_framework_ext.c 2013-06-08 22:06:05 -07:00
csr_framework_ext.h staging: csr: fix indentation coding style issue in csr_framework_ext.h 2013-06-08 22:06:06 -07:00
csr_framework_ext_types.h staging: csr: Remove struct CsrEvent 2012-10-30 10:39:15 -07:00
csr_log.h staging:csr: Fix typo in staging/csr driver 2013-04-08 10:22:50 -07:00
csr_log_configure.h staging: csr: csr_log_configure.h: remove a bunch of function protos 2012-10-30 12:45:39 -07:00
csr_log_text.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_macro.h Staging: csr: remove CSRMIN() macro 2012-10-26 17:11:23 -07:00
csr_msg_transport.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_msgconv.c staging: csr: remove csrPanic and CSR_LOG_ASSERT and CSR_LOG_ASSERT_ENABLE 2012-10-26 09:07:46 -07:00
csr_msgconv.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_prim_defs.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_result.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_sched.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_sdio.h staging:csr: Fix typo in staging/csr driver 2013-04-08 10:22:50 -07:00
csr_serialize_primitive_types.c staging: csr: remove csr_lib.h 2012-10-30 12:45:39 -07:00
csr_time.c staging: csr: csr_time.c: Fix coding style 2013-03-11 09:51:08 -07:00
csr_time.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_util.c stating: csr: remove unneeded #includes in csr_util.c 2012-07-20 15:06:15 -07:00
csr_wifi_common.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_fsm.h staging: csr: Fix typos in csr 2013-03-25 11:17:34 -07:00
csr_wifi_fsm_event.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_fsm_types.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_card.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_card_sdio.c staging: csr: Fix typos in csr 2013-03-25 11:17:34 -07:00
csr_wifi_hip_card_sdio.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_card_sdio_intr.c staging:csr: Fix typos in comment and printk 2013-04-01 12:25:43 -07:00
csr_wifi_hip_card_sdio_mem.c staging: csr: remove CsrInt32 typedef 2012-07-20 12:07:25 -07:00
csr_wifi_hip_chiphelper.c staging: csr: remove csr_types.h 2012-07-20 13:07:13 -07:00
csr_wifi_hip_chiphelper.h staging:csr: Fix typos in comment and printk 2013-04-01 12:25:43 -07:00
csr_wifi_hip_chiphelper_private.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_conversions.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_download.c staging: csr: remove func_exit_r macro 2012-10-29 14:54:34 -07:00
csr_wifi_hip_dump.c staging: csr: remove func_exit_r macro 2012-10-29 14:54:34 -07:00
csr_wifi_hip_packing.c staging: csr: remove CsrMemCpy() 2012-07-20 15:01:05 -07:00
csr_wifi_hip_send.c staging: csr: remove func_exit macro 2012-10-29 14:54:34 -07:00
csr_wifi_hip_signals.c staging: csr: remove CsrOffSetOf() 2012-07-20 15:09:16 -07:00
csr_wifi_hip_signals.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_sigs.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_ta_sampling.c staging: csr: remove CsrMemCmp 2012-07-20 14:18:02 -07:00
csr_wifi_hip_ta_sampling.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_udi.c csr: Don't use create_proc_read_entry() 2013-04-29 15:41:52 -04:00
csr_wifi_hip_unifi.h staging:csr: Fix typos in comment and printk 2013-04-01 12:25:43 -07:00
csr_wifi_hip_unifi_signal_names.c staging: csr: csr_wifi_hip_unifi_signal_names: Fix pointer position 2012-11-06 09:32:17 +01:00
csr_wifi_hip_unifi_udi.h csr: Don't use create_proc_read_entry() 2013-04-29 15:41:52 -04:00
csr_wifi_hip_unifihw.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_unifiversion.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hip_xbv.c Staging: csr: remove CSRMIN() macro 2012-10-26 17:11:23 -07:00
csr_wifi_hip_xbv.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_hostio_prim.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_lib.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_msgconv.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_nme_ap_converter_init.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_nme_ap_converter_init.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_nme_ap_free_downstream_contents.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_nme_ap_free_upstream_contents.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_nme_ap_lib.h staging: csr: csr_wifi_nme_ap_lib.h: remove the function prototypes 2012-11-01 08:48:56 -07:00
csr_wifi_nme_ap_prim.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_nme_ap_sef.c Staging:csr - Fixes whitespace around commas in csr_wifi_nme_ap_sef.c. 2013-05-13 13:54:21 -07:00
csr_wifi_nme_ap_sef.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_nme_ap_serialize.c staging: csr: remove csr_utf16.c 2012-07-20 17:04:08 -07:00
csr_wifi_nme_ap_serialize.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_nme_converter_init.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_nme_lib.h staging: csr: csr_wifi_nme_lib.h: remove function prototypes 2012-11-01 08:48:56 -07:00
csr_wifi_nme_prim.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_nme_serialize.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_nme_task.h staging: csr: csr_wifi_nme_task.h: remove function prototypes 2012-11-01 08:48:56 -07:00
csr_wifi_private_common.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_result.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_converter_init.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_router_converter_init.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_ctrl_converter_init.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_router_ctrl_converter_init.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_ctrl_free_downstream_contents.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_router_ctrl_free_upstream_contents.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_router_ctrl_lib.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_ctrl_prim.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_ctrl_sef.c Staging: csr: csr_wifi_router_ctrl_sef.c: fix line over 80 characters 2012-10-22 14:46:49 -07:00
csr_wifi_router_ctrl_sef.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_ctrl_serialize.c staging: csr: remove csr_utf16.c 2012-07-20 17:04:08 -07:00
csr_wifi_router_ctrl_serialize.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_free_downstream_contents.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_router_free_upstream_contents.c Drivers: Staging: CSR: fixed coding style errors in csr_wifi_router_free_upstream_contents.c 2012-10-22 14:01:42 -07:00
csr_wifi_router_lib.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_prim.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_sef.c
csr_wifi_router_sef.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_serialize.c staging: csr: remove csr_utf16.c 2012-07-20 17:04:08 -07:00
csr_wifi_router_serialize.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_task.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_router_transport.c staging: csr: delete a bunch of unused library functions 2012-07-20 17:25:09 -07:00
csr_wifi_serialize_primitive_types.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_sme_ap_lib.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_sme_ap_prim.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_sme_converter_init.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_sme_converter_init.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_sme_free_downstream_contents.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_sme_free_upstream_contents.c staging: csr: remove csr_pmem.h 2012-07-20 16:50:34 -07:00
csr_wifi_sme_lib.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_sme_prim.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_sme_sef.c
csr_wifi_sme_sef.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_sme_serialize.c staging: csr: remove csr_utf16.c 2012-07-20 17:04:08 -07:00
csr_wifi_sme_serialize.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_sme_task.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
csr_wifi_vif_utils.h Staging: csr: remove __cplusplus nonsense from the .h files 2012-10-26 16:29:09 -07:00
data_tx.c Staging: csr: data_tx: remove extra space in printk 2012-10-22 13:48:04 -07:00
drv.c Staging:csr - Fixes whitespace around commas in drv.c. 2013-05-13 13:54:21 -07:00
firmware.c staging: csr: remove CONFIG_HOTPLUG ifdefs 2012-11-21 15:04:58 -08:00
inet.c staging: csr: inet.c: replaces spaces with tabs 2012-11-01 08:48:55 -07:00
init_hw.c
io.c Staging:csr - Fixes whitespace around commas in io.c. 2013-05-13 13:54:22 -07:00
mlme.c staging: csr: remove func_exit macro 2012-10-29 14:54:34 -07:00
monitor.c staging: csr: fix the reset of skb mac header 2013-06-17 14:48:12 -07:00
netdev.c Staging:csr - Fixes whitespace around commas in netdev.c. 2013-05-13 13:54:22 -07:00
os.c staging: csr: os.c: remove braces around single statement blocks 2012-10-30 12:45:38 -07:00
putest.c staging: csr: remove CsrPmemAlloc 2012-07-20 16:41:09 -07:00
sdio_events.c staging: csr: Remove unneeded UF_NETIF_TX_* macros 2012-09-04 14:31:21 -07:00
sdio_mmc.c Staging:csr - Fixes whitespace around commas in sdio_mmc.c. 2013-05-13 13:54:22 -07:00
sdio_stubs.c staging: csr: remove CsrUint16 typedef 2012-07-20 12:00:10 -07:00
sme_blocking.c Staging:csr - Fixes whitespace around commas in sme_blocking.c. 2013-05-13 13:54:23 -07:00
sme_mgt.c staging: csr: remove CsrPmemAlloc 2012-07-20 16:41:09 -07:00
sme_native.c Staging:csr - Fixes whitespace around commas in sme_native.c. 2013-05-13 13:54:23 -07:00
sme_sys.c Staging:csr - Fixes whitespace around commas in sme_sys.c. 2013-05-13 13:54:24 -07:00
sme_userspace.c Staging:csr - Fixes whitespace around commas in sme_userspace.c. 2013-05-13 13:54:24 -07:00
sme_userspace.h Staging: csr: fix pointer(asterisk) position coding style issue in sme_userspace.h 2012-10-22 13:59:05 -07:00
sme_wext.c Staging:csr - Fixes whitespace around commas in sme_wext.c. 2013-05-13 13:57:15 -07:00
ul_int.c Staging:csr - Fixes whitespace around commas in ul_int.c. 2013-05-13 13:57:15 -07:00
unifi_clients.h staging: csr: remove CsrUint32 typedef 2012-07-20 12:05:42 -07:00
unifi_config.h
unifi_dbg.c
unifi_event.c Staging:csr - Fixes whitespace around commas in unifi_event.c. 2013-05-13 13:57:16 -07:00
unifi_native.h staging: csr: Remove dead code 2012-07-11 17:07:52 -07:00
unifi_os.h staging: csr: remove func_exit_r macro 2012-10-29 14:54:34 -07:00
unifi_pdu_processing.c staging: csr: Fix obvious logic error in staging/csr 2013-06-17 14:48:12 -07:00
unifi_priv.h Staging:csr - Fixes whitespace around commas in unifi_priv.h. 2013-05-13 13:58:03 -07:00
unifi_sme.c Staging:csr - Fixes whitespace around commas in unifi_sme.c. 2013-05-13 13:58:03 -07:00
unifi_sme.h Staging:csr - Fixes whitespace around commas in unifi_sme.h. 2013-05-13 13:58:04 -07:00
unifi_wext.h staging: csr: remove unused including <linux/version.h> 2012-10-22 13:48:04 -07:00
unifiio.h staging: csr: remove csr_types.h 2012-07-20 13:07:13 -07:00
wext_events.c staging: csr: print mac address with %pM 2012-08-13 18:56:35 -07:00