Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1303813
| From | Pranjal Bhor <bhor.pranjal@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 13/40] drivers/staging/wlan-ng/p80211conv.c: Fixed coding style |
| Date | 2016-01-07 20:20 +0100 |
| Message-ID | <qOogi-431-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Logical continuation fix for 'if' block
Signed-off-by: Pranjal Bhor <bhor.pranjal@gmail.com>
---
drivers/staging/wlan-ng/p80211conv.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/staging/wlan-ng/p80211conv.c
index 8769e47..7369a1b 100644
--- a/drivers/staging/wlan-ng/p80211conv.c
+++ b/drivers/staging/wlan-ng/p80211conv.c
@@ -326,10 +326,10 @@ int skb_p80211_to_ether(wlandevice_t *wlandev, u32 ethconv,
return 1;
}
foo = wep_decrypt(wlandev, skb->data + payload_offset + 4,
- payload_length - 8, -1,
- skb->data + payload_offset,
- skb->data + payload_offset +
- payload_length - 4);
+ payload_length - 8, -1,
+ skb->data + payload_offset,
+ skb->data + payload_offset +
+ payload_length - 4);
if (foo) {
/* de-wep failed, drop skb. */
pr_debug("Host de-WEP failed, dropping frame (%d).\n",
--
1.9.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 13/40] drivers/staging/wlan-ng/p80211conv.c: Fixed coding style Pranjal Bhor <bhor.pranjal@gmail.com> - 2016-01-07 20:20 +0100
csiph-web