summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorDave Perez2015-07-30 03:50:30 +0200
committerGreg Kroah-Hartman2015-08-01 01:05:40 +0200
commitbe3d2e0fe154f9da9098d59477ef08230a533426 (patch)
tree1f0b485ab95ee9465eaf990de85374976766dc2c /drivers/staging/rtl8188eu
parentstaging/lustre/llite: Don't set page writeback on non-dirty page (diff)
downloadkernel-qcow2-linux-be3d2e0fe154f9da9098d59477ef08230a533426.tar.gz
kernel-qcow2-linux-be3d2e0fe154f9da9098d59477ef08230a533426.tar.xz
kernel-qcow2-linux-be3d2e0fe154f9da9098d59477ef08230a533426.zip
Staging: rtl8188eu: fixed newlines after declarations
This is a patch to the rtw_debug.c file that fixes styling errors relating to new lines after variable declarations. Signed-off-by: Dave Perez <dave@daveperez.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r--drivers/staging/rtl8188eu/core/rtw_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_debug.c b/drivers/staging/rtl8188eu/core/rtw_debug.c
index bc3fe10ff247..12beab046a4a 100644
--- a/drivers/staging/rtl8188eu/core/rtw_debug.c
+++ b/drivers/staging/rtl8188eu/core/rtw_debug.c
@@ -219,6 +219,7 @@ int proc_get_ht_option(char *page, char **start,
struct mlme_priv *pmlmepriv = &(padapter->mlmepriv);
int len = 0;
+
len += snprintf(page + len, count - len, "ht_option=%d\n", pmlmepriv->htpriv.ht_option);
*eof = 1;
return len;
@@ -588,6 +589,7 @@ int proc_set_rx_signal(struct file *file, const char __user *buffer,
if (buffer && !copy_from_user(tmp, buffer, sizeof(tmp))) {
int num = sscanf(tmp, "%u %u", &is_signal_dbg, &signal_strength);
+
is_signal_dbg = is_signal_dbg == 0 ? 0 : 1;
if (is_signal_dbg && num != 2)
return count;