Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a922a4b7 authored by Mike McCormack's avatar Mike McCormack Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8192e: Clean formatting in rtl8192_hard_start_xmit()

parent 1f1f19ff
Loading
Loading
Loading
Loading
+31 −32
Original line number Diff line number Diff line
@@ -1049,16 +1049,16 @@ static int rtl8192_hard_start_xmit(struct sk_buff *skb,struct net_device *dev)
static void rtl8192_tx_isr(struct net_device *dev, int prio)
{
	struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);

	struct rtl8192_tx_ring *ring = &priv->tx_ring[prio];

	while (skb_queue_len(&ring->queue)) {
		tx_desc_819x_pci *entry = &ring->desc[ring->idx];
		struct sk_buff *skb;

        /* beacon packet will only use the first descriptor defaultly,
		/*
		 * beacon packet will only use the first descriptor defaultly,
		 * and the OWN may not be cleared by the hardware
         * */
		 */
		if (prio != BEACON_QUEUE) {
			if (entry->OWN)
				return;
@@ -1084,7 +1084,6 @@ static void rtl8192_tx_isr(struct net_device *dev, int prio)
		/* try to deal with the pending packets  */
		tasklet_schedule(&priv->irq_tx_tasklet);
	}

}

static void rtl8192_stop_beacon(struct net_device *dev)