mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
staging: wlan_ng: fix logical continuation alignment
It appears that our coding style prefers that logical continuations have the operator at the end of the line. Fix that. While at it, stick the 'if' after 'else' where it belongs. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
29fcf85bc1
commit
55dd5a39a9
1 changed files with 5 additions and 6 deletions
|
@ -1303,14 +1303,13 @@ int prism2mgmt_wlansniff(struct wlandevice *wlandev, void *msgp)
|
|||
/* Set the driver state */
|
||||
/* Do we want the prism2 header? */
|
||||
if ((msg->prismheader.status ==
|
||||
P80211ENUM_msgitem_status_data_ok)
|
||||
&& (msg->prismheader.data == P80211ENUM_truth_true)) {
|
||||
P80211ENUM_msgitem_status_data_ok) &&
|
||||
(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 {
|
||||
|
|
Loading…
Reference in a new issue