Commit 82ade3e5 authored by Tim Collier's avatar Tim Collier Committed by Greg Kroah-Hartman
Browse files

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: default avatarTim Collier <osdevtc@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 27575665
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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);
+6 −11
Original line number Diff line number Diff line
@@ -341,8 +341,7 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,

		pr_debug("Received mlme ifstate request\n");
		ifstatemsg = (struct p80211msg_lnxreq_ifstate *)msg;
		result =
			prism2sta_ifstate(wlandev,
		result = prism2sta_ifstate(wlandev,
					   ifstatemsg->ifstate.data);
		ifstatemsg->resultcode.status =
			P80211ENUM_msgitem_status_data_ok;
@@ -365,16 +364,12 @@ static int prism2sta_mlmerequest(struct wlandevice *wlandev,

		qualmsg = (struct p80211msg_lnxreq_commsquality *)msg;

		qualmsg->link.status =
			P80211ENUM_msgitem_status_data_ok;
		qualmsg->level.status =
			P80211ENUM_msgitem_status_data_ok;
		qualmsg->noise.status =
			P80211ENUM_msgitem_status_data_ok;
		qualmsg->link.status = P80211ENUM_msgitem_status_data_ok;
		qualmsg->level.status = P80211ENUM_msgitem_status_data_ok;
		qualmsg->noise.status = P80211ENUM_msgitem_status_data_ok;

		qualmsg->link.data = le16_to_cpu(hw->qual.cq_curr_bss);
		qualmsg->level.data =
			le16_to_cpu(hw->qual.asl_curr_bss);
		qualmsg->level.data = le16_to_cpu(hw->qual.asl_curr_bss);
		qualmsg->noise.data = le16_to_cpu(hw->qual.anl_curr_fc);
		qualmsg->txrate.data = hw->txrate;