Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1303818 > unrolled thread

[PATCH 06/40] drivers/staging/wlan-ng/p80211conv.c: Fixed coding style

Started byPranjal Bhor <bhor.pranjal@gmail.com>
First post2016-01-07 20:20 +0100
Last post2016-01-07 20:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 06/40] drivers/staging/wlan-ng/p80211conv.c: Fixed coding style Pranjal Bhor <bhor.pranjal@gmail.com> - 2016-01-07 20:20 +0100

#1303818 — [PATCH 06/40] drivers/staging/wlan-ng/p80211conv.c: Fixed coding style

FromPranjal Bhor <bhor.pranjal@gmail.com>
Date2016-01-07 20:20 +0100
Subject[PATCH 06/40] drivers/staging/wlan-ng/p80211conv.c: Fixed coding style
Message-ID<qOogj-431-21@gated-at.bofh.it>
Logical continuation is fixed

Signed-off-by: Pranjal Bhor <bhor.pranjal@gmail.com>
---
 drivers/staging/wlan-ng/p80211conv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/staging/wlan-ng/p80211conv.c
index c9bbf89..44bf164 100644
--- a/drivers/staging/wlan-ng/p80211conv.c
+++ b/drivers/staging/wlan-ng/p80211conv.c
@@ -200,8 +200,8 @@ int skb_ether_to_p80211(wlandevice_t *wlandev, u32 ethconv,

	p80211_wep->data = NULL;

-	if ((wlandev->hostwep & HOSTWEP_PRIVACYINVOKED)
-	    && (wlandev->hostwep & HOSTWEP_ENCRYPT)) {
+	if ((wlandev->hostwep & HOSTWEP_PRIVACYINVOKED) &&
+	    (wlandev->hostwep & HOSTWEP_ENCRYPT)) {
		/* XXXX need to pick keynum other than default? */

		p80211_wep->data = kmalloc(skb->len, GFP_ATOMIC);
--
1.9.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web