diff mbox

[2/2] staging: rtl8723au: core style issue

Message ID 1414368968-9841-1-git-send-email-paulmcquad@gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Paul Mcquade Oct. 27, 2014, 12:16 a.m. UTC
spaces required around %

Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
---
 drivers/staging/rtl8723au/core/rtw_recv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Greg Kroah-Hartman Oct. 29, 2014, 9:35 a.m. UTC | #1
On Mon, Oct 27, 2014 at 12:16:08AM +0000, Paul McQuade wrote:
> spaces required around %
> 
> Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
> ---
>  drivers/staging/rtl8723au/core/rtw_recv.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Your subject does not make sense :(
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/staging/rtl8723au/core/rtw_recv.c b/drivers/staging/rtl8723au/core/rtw_recv.c
index 5bc7734..6343d49a 100644
--- a/drivers/staging/rtl8723au/core/rtw_recv.c
+++ b/drivers/staging/rtl8723au/core/rtw_recv.c
@@ -2381,7 +2381,7 @@  void rtw_signal_stat_timer_hdl23a(unsigned long data)
 		if (!check_fwstate(&adapter->mlmepriv, _FW_UNDER_SURVEY)) {
 			tmp_s = (avg_signal_strength + (_alpha - 1) *
 				 recvpriv->signal_strength);
-			if (tmp_s %_alpha)
+			if (tmp_s % _alpha)
 				tmp_s = tmp_s / _alpha + 1;
 			else
 				tmp_s = tmp_s / _alpha;
@@ -2390,7 +2390,7 @@  void rtw_signal_stat_timer_hdl23a(unsigned long data)
 
 			tmp_q = (avg_signal_qual + (_alpha - 1) *
 				 recvpriv->signal_qual);
-			if (tmp_q %_alpha)
+			if (tmp_q % _alpha)
 				tmp_q = tmp_q / _alpha + 1;
 			else
 				tmp_q = tmp_q / _alpha;