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


Groups > linux.kernel > #1303832

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

From Pranjal Bhor <bhor.pranjal@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 10/40] drivers/staging/wlan-ng/p80211conv.c: Fixed coding style
Date 2016-01-07 20:20 +0100
Message-ID <qOogk-431-55@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Logical continuation fixing for 'if' block

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 32039ae..d3ee4f2 100644
--- a/drivers/staging/wlan-ng/p80211conv.c
+++ b/drivers/staging/wlan-ng/p80211conv.c
@@ -297,8 +297,8 @@ int skb_p80211_to_ether(wlandevice_t *wlandev, u32 ethconv,
	if ((WLAN_GET_FC_TODS(fc) == 0) && (WLAN_GET_FC_FROMDS(fc) == 0)) {
		ether_addr_copy(daddr, w_hdr->a3.a1);
		ether_addr_copy(saddr, w_hdr->a3.a2);
-	} else if ((WLAN_GET_FC_TODS(fc) == 0)
-			&& (WLAN_GET_FC_FROMDS(fc) == 1)) {
+	} else if ((WLAN_GET_FC_TODS(fc) == 0) &&
+		   (WLAN_GET_FC_FROMDS(fc) == 1)) {
		ether_addr_copy(daddr, w_hdr->a3.a1);
		ether_addr_copy(saddr, w_hdr->a3.a3);
	} else if ((WLAN_GET_FC_TODS(fc) == 1)
--
1.9.1

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web