From: Tobias Polzer Date: Thu, 13 Jun 2013 21:00:35 +0000 (+0200) Subject: staging: csr: Fix obvious logic error in staging/csr X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~76^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a58857707c8bc07dcca39a4a6b2c88e37ff2b01;p=pandora-kernel.git 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 Signed-off-by: Tobias Polzer Signed-off-by: Dominik Paulus Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed