public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: wlan-ng: Fixed code style issue:
@ 2017-02-13 14:20 Bo YU
  2017-02-14 17:16 ` Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Bo YU @ 2017-02-13 14:20 UTC (permalink / raw)
  To: Kroah-Hartman, Ravichandran, sergio.paracuellos, aquannie,
	karniksayli1995, becher.jannik
  Cc: devel, linux-kernel

Statements should start on a tabstop

Signed-off-by: YU Bo <tsu.yubo@gmail.com>
---
  drivers/staging/wlan-ng/prism2mgmt.c |    3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
index c558ad656c49..b641a59052ac 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.c
+++ b/drivers/staging/wlan-ng/prism2mgmt.c
@@ -1307,8 +1307,7 @@ int prism2mgmt_wlansniff(struct wlandevice *wlandev, void *msgp)
  		    && (msg->prismheader.data == P80211ENUM_truth_true)) {
  			hw->sniffhdr = 0;
  			wlandev->netdev->type = ARPHRD_IEEE80211_PRISM;
-		} else
-		    if ((msg->wlanheader.status ==
+		} else if ((msg->wlanheader.status ==
  			 P80211ENUM_msgitem_status_data_ok)
  			&& (msg->wlanheader.data == P80211ENUM_truth_true)) {
  			hw->sniffhdr = 1;
--
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-14 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13 14:20 [PATCH] Staging: wlan-ng: Fixed code style issue: Bo YU
2017-02-14 17:16 ` Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox