Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1570778
| From | Maksymilian Piechota <maksymilianpiechota@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2] staging: wlan-ng: This patch fixes the checkpatch.pl warning: |
| Date | 2017-01-31 15:30 +0100 |
| Message-ID | <t5HBv-1Ll-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Fix checkpatch.pl warning:
WARNING: Statements should start on a tabstop
V2: whole if statement cleared up
Signed-off-by: Maksymilian Piechota <maksymilianpiechota@gmail.com>
---
drivers/staging/wlan-ng/prism2mgmt.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
index 2d67125..5277f36 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.c
+++ b/drivers/staging/wlan-ng/prism2mgmt.c
@@ -1307,10 +1307,8 @@ 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 ==
- P80211ENUM_msgitem_status_data_ok)
- && (msg->wlanheader.data == P80211ENUM_truth_true)) {
+ } else if ((msg->wlanheader.status == P80211ENUM_msgitem_status_data_ok) &&
+ (msg->wlanheader.data == P80211ENUM_truth_true)) {
hw->sniffhdr = 1;
wlandev->netdev->type = ARPHRD_IEEE80211_PRISM;
} else {
--
2.1.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2] staging: wlan-ng: This patch fixes the checkpatch.pl warning: Maksymilian Piechota <maksymilianpiechota@gmail.com> - 2017-01-31 15:30 +0100 Re: [PATCH v2] staging: wlan-ng: This patch fixes the checkpatch.pl warning: Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-03 11:00 +0100
csiph-web