[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7cc81509110c581229367b07e049a959413e9bb2.1487170789.git.maksymilianpiechota@gmail.com>
Date: Wed, 15 Feb 2017 10:11:00 -0500
From: Maksymilian Piechota <maksymilianpiechota@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Maksymilian Piechota <maksymilianpiechota@...il.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH v7 1/2] staging: wlan-ng: move else if statement to a single
line
move else if statement to a single line
Signed-off-by: Maksymilian Piechota <maksymilianpiechota@...il.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 16fb2d3..a45ff00 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;
--
2.1.4
Powered by blists - more mailing lists