Commit 3f2d6564 authored by Sherif Shehab Aldin's avatar Sherif Shehab Aldin Committed by Greg Kroah-Hartman

driver: staging: wlan-ng: Fixed Alignment to match open parenthesis

Fixed Alignment to match open parenthesis in hfa384x_usb.c
Signed-off-by: default avatarSherif Shehab Aldin <shehabaldin.sherif@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 83f91687
...@@ -472,7 +472,8 @@ static void hfa384x_usb_defer(struct work_struct *data) ...@@ -472,7 +472,8 @@ static void hfa384x_usb_defer(struct work_struct *data)
ret = submit_rx_urb(hw, GFP_KERNEL); ret = submit_rx_urb(hw, GFP_KERNEL);
if (ret != 0) { if (ret != 0) {
netdev_err(hw->wlandev->netdev, netdev_err(hw->wlandev->netdev,
"Failed to resume %s rx pipe.\n", netdev->name); "Failed to resume %s rx pipe.\n",
netdev->name);
} else { } else {
clear_bit(WORK_RX_RESUME, &hw->usb_flags); clear_bit(WORK_RX_RESUME, &hw->usb_flags);
} }
...@@ -2445,7 +2446,8 @@ int hfa384x_drvr_readpda(hfa384x_t *hw, void *buf, unsigned int len) ...@@ -2445,7 +2446,8 @@ int hfa384x_drvr_readpda(hfa384x_t *hw, void *buf, unsigned int len)
if (result) { if (result) {
netdev_warn(hw->wlandev->netdev, netdev_warn(hw->wlandev->netdev,
"Read from index %zd failed, continuing\n", i); "Read from index %zd failed, continuing\n",
i);
continue; continue;
} }
...@@ -2582,7 +2584,8 @@ int hfa384x_drvr_start(hfa384x_t *hw) ...@@ -2582,7 +2584,8 @@ int hfa384x_drvr_start(hfa384x_t *hw)
result = submit_rx_urb(hw, GFP_KERNEL); result = submit_rx_urb(hw, GFP_KERNEL);
if (result != 0) { if (result != 0) {
netdev_err(hw->wlandev->netdev, netdev_err(hw->wlandev->netdev,
"Fatal, failed to submit RX URB, result=%d\n", result); "Fatal, failed to submit RX URB, result=%d\n",
result);
goto done; goto done;
} }
...@@ -3007,7 +3010,8 @@ static void unlocked_usbctlx_complete(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx) ...@@ -3007,7 +3010,8 @@ static void unlocked_usbctlx_complete(hfa384x_t *hw, hfa384x_usbctlx_t *ctlx)
default: default:
netdev_err(hw->wlandev->netdev, "CTLX[%d] not in a terminating state(%s)\n", netdev_err(hw->wlandev->netdev, "CTLX[%d] not in a terminating state(%s)\n",
le16_to_cpu(ctlx->outbuf.type), ctlxstr(ctlx->state)); le16_to_cpu(ctlx->outbuf.type),
ctlxstr(ctlx->state));
break; break;
} /* switch */ } /* switch */
} }
...@@ -3531,7 +3535,8 @@ static void hfa384x_usbin_rx(wlandevice_t *wlandev, struct sk_buff *skb) ...@@ -3531,7 +3535,8 @@ static void hfa384x_usbin_rx(wlandevice_t *wlandev, struct sk_buff *skb)
default: default:
netdev_warn(hw->wlandev->netdev, "Received frame on unsupported port=%d\n", netdev_warn(hw->wlandev->netdev, "Received frame on unsupported port=%d\n",
HFA384x_RXSTATUS_MACPORT_GET(usbin->rxfrm.desc.status)); HFA384x_RXSTATUS_MACPORT_GET(
usbin->rxfrm.desc.status));
goto done; goto done;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment