Commit cd686808 authored by Andrew Miller's avatar Andrew Miller Committed by Greg Kroah-Hartman

Staging: rtl8187se: r8180_core.c: Removed trailing spaces

Cleaned up some trailing spaces
Signed-off-by: default avatarAndrew Miller <amiller@amilx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 66bfd64f
...@@ -1619,9 +1619,9 @@ void rtl8180_rx(struct net_device *dev) ...@@ -1619,9 +1619,9 @@ void rtl8180_rx(struct net_device *dev)
!bHwError && !bCRC && !bICV && !bHwError && !bCRC && !bICV &&
eqMacAddr(priv->ieee80211->current_network.bssid, eqMacAddr(priv->ieee80211->current_network.bssid,
fc & IEEE80211_FCTL_TODS ? hdr->addr1 : fc & IEEE80211_FCTL_TODS ? hdr->addr1 :
fc & IEEE80211_FCTL_FROMDS ? hdr->addr2 : fc & IEEE80211_FCTL_FROMDS ? hdr->addr2 :
hdr->addr3)) { hdr->addr3)) {
/* Perform signal smoothing for dynamic /* Perform signal smoothing for dynamic
* mechanism on demand. This is different * mechanism on demand. This is different
* with PerformSignalSmoothing8185 in smoothing * with PerformSignalSmoothing8185 in smoothing
...@@ -1658,7 +1658,7 @@ void rtl8180_rx(struct net_device *dev) ...@@ -1658,7 +1658,7 @@ void rtl8180_rx(struct net_device *dev)
} }
/* support for prism header has been originally added by Christian */ /* support for prism header has been originally added by Christian */
if (priv->prism_hdr && priv->ieee80211->iw_mode == IW_MODE_MONITOR) { if (priv->prism_hdr && priv->ieee80211->iw_mode == IW_MODE_MONITOR) {
} else { } else {
priv->rx_skb = dev_alloc_skb(len+2); priv->rx_skb = dev_alloc_skb(len+2);
if (!priv->rx_skb) if (!priv->rx_skb)
...@@ -1770,7 +1770,7 @@ void rtl8180_data_hard_resume(struct net_device *dev) ...@@ -1770,7 +1770,7 @@ void rtl8180_data_hard_resume(struct net_device *dev)
rtl8180_set_mode(dev, EPROM_CMD_NORMAL); rtl8180_set_mode(dev, EPROM_CMD_NORMAL);
} }
/* /*
* This function TX data frames when the ieee80211 stack requires this. * This function TX data frames when the ieee80211 stack requires this.
* It checks also if we need to stop the ieee tx queue, eventually do it * It checks also if we need to stop the ieee tx queue, eventually do it
*/ */
...@@ -1814,7 +1814,7 @@ rate) { ...@@ -1814,7 +1814,7 @@ rate) {
spin_unlock_irqrestore(&priv->tx_lock, flags); spin_unlock_irqrestore(&priv->tx_lock, flags);
} }
/* /*
* This is a rough attempt to TX a frame * This is a rough attempt to TX a frame
* This is called by the ieee 80211 stack to TX management frames. * This is called by the ieee 80211 stack to TX management frames.
* If the ring is full packet are dropped (for data frame the queue * If the ring is full packet are dropped (for data frame the queue
...@@ -1920,7 +1920,7 @@ void rtl8180_prepare_beacon(struct net_device *dev) ...@@ -1920,7 +1920,7 @@ void rtl8180_prepare_beacon(struct net_device *dev)
} }
} }
/* /*
* This function do the real dirty work: it enqueues a TX command * This function do the real dirty work: it enqueues a TX command
* descriptor in the ring buffer, copyes the frame in a TX buffer * descriptor in the ring buffer, copyes the frame in a TX buffer
* and kicks the NIC to ensure it does the DMA transfer. * and kicks the NIC to ensure it does the DMA transfer.
...@@ -2188,7 +2188,7 @@ short rtl8180_tx(struct net_device *dev, u8* txbuf, int len, int priority, ...@@ -2188,7 +2188,7 @@ short rtl8180_tx(struct net_device *dev, u8* txbuf, int len, int priority,
priv->txhpbufstail = buflist; priv->txhpbufstail = buflist;
break; break;
case BEACON_PRIORITY: case BEACON_PRIORITY:
/* /*
* The HW seems to be happy with the 1st * The HW seems to be happy with the 1st
* descriptor filled and the 2nd empty... * descriptor filled and the 2nd empty...
* So always update descriptor 1 and never * So always update descriptor 1 and never
...@@ -2308,13 +2308,13 @@ void rtl8180_hw_sleep(struct net_device *dev, u32 th, u32 tl) ...@@ -2308,13 +2308,13 @@ void rtl8180_hw_sleep(struct net_device *dev, u32 th, u32 tl)
spin_lock_irqsave(&priv->ps_lock, flags); spin_lock_irqsave(&priv->ps_lock, flags);
/* /*
* Writing HW register with 0 equals to disable * Writing HW register with 0 equals to disable
* the timer, that is not really what we want * the timer, that is not really what we want
*/ */
tl -= MSECS(4+16+7); tl -= MSECS(4+16+7);
/* /*
* If the interval in witch we are requested to sleep is too * If the interval in witch we are requested to sleep is too
* short then give up and remain awake * short then give up and remain awake
*/ */
...@@ -2332,7 +2332,7 @@ void rtl8180_hw_sleep(struct net_device *dev, u32 th, u32 tl) ...@@ -2332,7 +2332,7 @@ void rtl8180_hw_sleep(struct net_device *dev, u32 th, u32 tl)
queue_delayed_work(priv->ieee80211->wq, &priv->ieee80211->hw_wakeup_wq, tmp); /* as tl may be less than rb */ queue_delayed_work(priv->ieee80211->wq, &priv->ieee80211->hw_wakeup_wq, tmp); /* as tl may be less than rb */
} }
/* /*
* If we suspect the TimerInt is gone beyond tl * If we suspect the TimerInt is gone beyond tl
* while setting it, then give up * while setting it, then give up
*/ */
...@@ -3172,7 +3172,7 @@ void rtl8180_adapter_start(struct net_device *dev) ...@@ -3172,7 +3172,7 @@ void rtl8180_adapter_start(struct net_device *dev)
netif_start_queue(dev); netif_start_queue(dev);
} }
/* /*
* This configures registers for beacon tx and enables it via * This configures registers for beacon tx and enables it via
* rtl8180_beacon_tx_enable(). rtl8180_beacon_tx_disable() might * rtl8180_beacon_tx_enable(). rtl8180_beacon_tx_disable() might
* be used to stop beacon transmission * be used to stop beacon transmission
...@@ -3843,7 +3843,7 @@ void rtl8180_tx_isr(struct net_device *dev, int pri, short error) ...@@ -3843,7 +3843,7 @@ void rtl8180_tx_isr(struct net_device *dev, int pri, short error)
return; return;
} }
/* /*
* We check all the descriptors between the head and the nic, * We check all the descriptors between the head and the nic,
* but not the currently pointed by the nic (the next to be txed) * but not the currently pointed by the nic (the next to be txed)
* and the previous of the pointed (might be in process ??) * and the previous of the pointed (might be in process ??)
...@@ -3881,7 +3881,7 @@ void rtl8180_tx_isr(struct net_device *dev, int pri, short error) ...@@ -3881,7 +3881,7 @@ void rtl8180_tx_isr(struct net_device *dev, int pri, short error)
head += 8; head += 8;
} }
/* /*
* The head has been moved to the last certainly TXed * The head has been moved to the last certainly TXed
* (or at least processed by the nic) packet. * (or at least processed by the nic) packet.
* The driver take forcefully owning of all these packets * The driver take forcefully owning of all these packets
......
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