summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712
diff options
context:
space:
mode:
authorOmri Arad <omriarad3@gmail.com>2016-09-12 21:02:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-13 14:51:53 +0200
commit12bc1d1e9cb18176dcd80564067114b32d189d24 (patch)
tree12e69478c284f3d21129b6ba0f415758f87c43d7 /drivers/staging/rtl8712
parentf6573adedb7d8ee4be3a88fdb2b2e944695946d7 (diff)
downloadlinux-12bc1d1e9cb18176dcd80564067114b32d189d24.tar.bz2
staging: rtl8712: fix coding style error reported from checkpatch
removed the following: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line WARNING: Statements should start on a tabstop Signed-off-by: Omri Arad <omriarad3@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712')
-rw-r--r--drivers/staging/rtl8712/rtl871x_ioctl_linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
index e205adf24da2..475e7904fe45 100644
--- a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
+++ b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c
@@ -1976,9 +1976,9 @@ static int r871x_get_ap_info(struct net_device *dev,
if (pdata->length >= 32) {
if (copy_from_user(data, pdata->pointer, 32))
return -EINVAL;
- data[32] = 0;
+ data[32] = 0;
} else {
- return -EINVAL;
+ return -EINVAL;
}
spin_lock_irqsave(&(pmlmepriv->scanned_queue.lock), irqL);
phead = &queue->queue;