Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1579814
| From | Maksymilian Piechota <maksymilianpiechota@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCHv6 1/3] staging: wlan-ng: move logical continuations at the end of line |
| Date | 2017-02-13 15:30 +0100 |
| Message-ID | <tapND-4Q3-13@gated-at.bofh.it> (permalink) |
| References | <tapND-4Q3-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
move logical continuations at the end of line
Signed-off-by: Maksymilian Piechota <maksymilianpiechota@gmail.com>
---
drivers/staging/wlan-ng/prism2mgmt.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
index 16fb2d3..64a9ebc 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.c
+++ b/drivers/staging/wlan-ng/prism2mgmt.c
@@ -1308,9 +1308,8 @@ int prism2mgmt_wlansniff(struct wlandevice *wlandev, void *msgp)
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)) {
+ 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 — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/3] staging: wlan-ng: align else if statement to coding standard Maksymilian Piechota <maksymilianpiechota@gmail.com> - 2017-02-13 15:30 +0100
[PATCHv6 1/3] staging: wlan-ng: move logical continuations at the end of line Maksymilian Piechota <maksymilianpiechota@gmail.com> - 2017-02-13 15:30 +0100
Re: [PATCHv6 1/3] staging: wlan-ng: move logical continuations at the end of line Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-14 18:20 +0100
Re: [PATCHv6 1/3] staging: wlan-ng: move logical continuations at the end of line Maksymilian Piechota <maksymilianpiechota@gmail.com> - 2017-02-15 13:00 +0100
Re: [PATCHv6 1/3] staging: wlan-ng: move logical continuations at the end of line Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-02-15 15:30 +0100
[PATCHv6 3/3] staging: wlan-ng: realign else if continuation Maksymilian Piechota <maksymilianpiechota@gmail.com> - 2017-02-13 15:40 +0100
[PATCHv6 2/3] staging: wlan-ng: move else if statement to a single line Maksymilian Piechota <maksymilianpiechota@gmail.com> - 2017-02-13 15:40 +0100
csiph-web