summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/hfa384x_usb.c
diff options
context:
space:
mode:
authorTim Collier <osdevtc@gmail.com>2018-09-26 23:06:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-28 14:43:52 +0200
commit82ade3e5755643148af937f4cf930e52de03ea9c (patch)
treeb4227d05f56f3141059fb7e6502344b6de9efcee /drivers/staging/wlan-ng/hfa384x_usb.c
parent27575665f39c8c23d2a55d96665acf7151aad005 (diff)
downloadlinux-stable-82ade3e5755643148af937f4cf930e52de03ea9c.tar.gz
linux-stable-82ade3e5755643148af937f4cf930e52de03ea9c.tar.bz2
linux-stable-82ade3e5755643148af937f4cf930e52de03ea9c.zip
staging: wlan-ng: rejoin split lines shortened by case changes
The reformatting of case blocks has shortened some lines such that previously split lines can be rejoined without exceeding 80 characters. Rejoined those lines. Signed-off-by: Tim Collier <osdevtc@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/hfa384x_usb.c')
-rw-r--r--drivers/staging/wlan-ng/hfa384x_usb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index fb32aaf13628..6261881e9bcd 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -3611,8 +3611,7 @@ static void hfa384x_usbout_callback(struct urb *urb)
netdev_warn(hw->wlandev->netdev,
"%s tx pipe stalled: requesting reset\n",
wlandev->netdev->name);
- if (!test_and_set_bit
- (WORK_TX_HALT, &hw->usb_flags))
+ if (!test_and_set_bit(WORK_TX_HALT, &hw->usb_flags))
schedule_work(&hw->usb_work);
wlandev->netdev->stats.tx_errors++;
break;
@@ -3623,8 +3622,7 @@ static void hfa384x_usbout_callback(struct urb *urb)
case -EILSEQ: {
struct hfa384x *hw = wlandev->priv;
- if (!test_and_set_bit
- (THROTTLE_TX, &hw->usb_flags) &&
+ if (!test_and_set_bit(THROTTLE_TX, &hw->usb_flags) &&
!timer_pending(&hw->throttle)) {
mod_timer(&hw->throttle,
jiffies + THROTTLE_JIFFIES);