From: Pushpendra Singh <pushpendra.singh@smartplayin.com>
To: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
gregkh@linuxfoundation.org
Cc: navin.patidar@gmail.com, gmate.amit@gmail.com,
manuel.schoelling@gmx.de,
Pushpendra Singh <pushpendra.singh@smartplayin.com>
Subject: [PATCH 5/7] staging: rtl8188eu: core: remove indentation warning
Date: Tue, 10 Feb 2015 15:34:13 +0530 [thread overview]
Message-ID: <1423562655-29971-5-git-send-email-pushpendra.singh@smartplayin.com> (raw)
In-Reply-To: <1423562655-29971-1-git-send-email-pushpendra.singh@smartplayin.com>
remove checckpatch.pl warning
WARNINGROR: switch and case should be at the same indent
Signed-off-by: Pushpendra Singh <pushpendra.singh@smartplayin.com>
---
drivers/staging/rtl8188eu/core/rtw_xmit.c | 32 +++++++++++++--------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/drivers/staging/rtl8188eu/core/rtw_xmit.c b/drivers/staging/rtl8188eu/core/rtw_xmit.c
index 1b4a418..92794f0 100644
--- a/drivers/staging/rtl8188eu/core/rtw_xmit.c
+++ b/drivers/staging/rtl8188eu/core/rtw_xmit.c
@@ -1027,22 +1027,22 @@ s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct
/* adding icv, if necessary... */
if (pattrib->iv_len) {
switch (pattrib->encrypt) {
- case _WEP40_:
- case _WEP104_:
- WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx);
- break;
- case _TKIP_:
- if (bmcst)
- TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx);
- else
- TKIP_IV(pattrib->iv, psta->dot11txpn, 0);
- break;
- case _AES_:
- if (bmcst)
- AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx);
- else
- AES_IV(pattrib->iv, psta->dot11txpn, 0);
- break;
+ case _WEP40_:
+ case _WEP104_:
+ WEP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx);
+ break;
+ case _TKIP_:
+ if (bmcst)
+ TKIP_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx);
+ else
+ TKIP_IV(pattrib->iv, psta->dot11txpn, 0);
+ break;
+ case _AES_:
+ if (bmcst)
+ AES_IV(pattrib->iv, psta->dot11txpn, pattrib->key_idx);
+ else
+ AES_IV(pattrib->iv, psta->dot11txpn, 0);
+ break;
}
memcpy(pframe, pattrib->iv, pattrib->iv_len);
--
1.9.1
next prev parent reply other threads:[~2015-02-10 10:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-10 10:04 [PATCH 1/7] staging: rtl8188eu: core: added blank line after declarations Pushpendra Singh
2015-02-10 10:04 ` [PATCH 2/7] staging: rtl8188eu: core: removing unnecessary space Pushpendra Singh
2015-02-10 10:04 ` [PATCH 3/7] staging: rtl8188eu: core: remove spaces at start of line Pushpendra Singh
2015-02-10 10:04 ` [PATCH 4/7] staging: rtl8188eu: core: remove unnecessary parentheses Pushpendra Singh
2015-02-10 10:04 ` Pushpendra Singh [this message]
2015-02-10 10:04 ` [PATCH 6/7] staging: rtl8188eu: core: removed unnecessary braces Pushpendra Singh
2015-02-10 10:04 ` [PATCH 7/7] staging: rtl8188eu: core : remove space before tabs Pushpendra Singh
2015-02-10 11:21 ` [PATCH 1/7] staging: rtl8188eu: core: added blank line after declarations Sudip Mukherjee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1423562655-29971-5-git-send-email-pushpendra.singh@smartplayin.com \
--to=pushpendra.singh@smartplayin.com \
--cc=devel@driverdev.osuosl.org \
--cc=gmate.amit@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manuel.schoelling@gmx.de \
--cc=navin.patidar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®