aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ar9170/main.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@dharma.ireland.sun.com>2010-03-31 10:07:48 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-06 16:55:07 -0400
commitb409894f9d6961bd5feffb86ba1d8dbbebfb5b72 (patch)
tree6f421c24ce6cca3c656858e89c9c45e1b2d2a252 /drivers/net/wireless/ath/ar9170/main.c
parent4d66edc8b6c0622ed6df74709de65f70d1ca222f (diff)
ath: fix coding style/readability in ath/ar9170
This is a patch to files in ath/ar9170 that fixes a set of warnings found by checkpatch.pl tool. A line over 80 characters, a few empty spaces before tab and a few empty characters before a new line. Signed-off-by: Luis de Bethencourt <luisbg@ubuntu.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/main.c')
-rw-r--r--drivers/net/wireless/ath/ar9170/main.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c
index 2daeaa5bcb88..fed6695ec04e 100644
--- a/drivers/net/wireless/ath/ar9170/main.c
+++ b/drivers/net/wireless/ath/ar9170/main.c
@@ -235,7 +235,7 @@ static void __ar9170_dump_txqueue(struct ar9170 *ar,
235 wiphy_name(ar->hw->wiphy), skb_queue_len(queue)); 235 wiphy_name(ar->hw->wiphy), skb_queue_len(queue));
236 236
237 skb_queue_walk(queue, skb) { 237 skb_queue_walk(queue, skb) {
238 printk(KERN_DEBUG "index:%d => \n", i++); 238 printk(KERN_DEBUG "index:%d =>\n", i++);
239 ar9170_print_txheader(ar, skb); 239 ar9170_print_txheader(ar, skb);
240 } 240 }
241 if (i != skb_queue_len(queue)) 241 if (i != skb_queue_len(queue))
@@ -280,7 +280,7 @@ static void ar9170_dump_tx_status_ampdu(struct ar9170 *ar)
280 unsigned long flags; 280 unsigned long flags;
281 281
282 spin_lock_irqsave(&ar->tx_status_ampdu.lock, flags); 282 spin_lock_irqsave(&ar->tx_status_ampdu.lock, flags);
283 printk(KERN_DEBUG "%s: A-MPDU tx_status queue => \n", 283 printk(KERN_DEBUG "%s: A-MPDU tx_status queue =>\n",
284 wiphy_name(ar->hw->wiphy)); 284 wiphy_name(ar->hw->wiphy));
285 __ar9170_dump_txqueue(ar, &ar->tx_status_ampdu); 285 __ar9170_dump_txqueue(ar, &ar->tx_status_ampdu);
286 spin_unlock_irqrestore(&ar->tx_status_ampdu.lock, flags); 286 spin_unlock_irqrestore(&ar->tx_status_ampdu.lock, flags);
@@ -307,7 +307,7 @@ static void ar9170_recycle_expired(struct ar9170 *ar,
307 if (time_is_before_jiffies(arinfo->timeout)) { 307 if (time_is_before_jiffies(arinfo->timeout)) {
308#ifdef AR9170_QUEUE_DEBUG 308#ifdef AR9170_QUEUE_DEBUG
309 printk(KERN_DEBUG "%s: [%ld > %ld] frame expired => " 309 printk(KERN_DEBUG "%s: [%ld > %ld] frame expired => "
310 "recycle \n", wiphy_name(ar->hw->wiphy), 310 "recycle\n", wiphy_name(ar->hw->wiphy),
311 jiffies, arinfo->timeout); 311 jiffies, arinfo->timeout);
312 ar9170_print_txheader(ar, skb); 312 ar9170_print_txheader(ar, skb);
313#endif /* AR9170_QUEUE_DEBUG */ 313#endif /* AR9170_QUEUE_DEBUG */
@@ -688,7 +688,8 @@ void ar9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len)
688 688
689 /* firmware debug */ 689 /* firmware debug */
690 case 0xca: 690 case 0xca:
691 printk(KERN_DEBUG "ar9170 FW: %.*s\n", len - 4, (char *)buf + 4); 691 printk(KERN_DEBUG "ar9170 FW: %.*s\n", len - 4,
692 (char *)buf + 4);
692 break; 693 break;
693 case 0xcb: 694 case 0xcb:
694 len -= 4; 695 len -= 4;
@@ -1727,7 +1728,7 @@ static void ar9170_tx(struct ar9170 *ar)
1727 printk(KERN_DEBUG "%s: queue %d full\n", 1728 printk(KERN_DEBUG "%s: queue %d full\n",
1728 wiphy_name(ar->hw->wiphy), i); 1729 wiphy_name(ar->hw->wiphy), i);
1729 1730
1730 printk(KERN_DEBUG "%s: stuck frames: ===> \n", 1731 printk(KERN_DEBUG "%s: stuck frames: ===>\n",
1731 wiphy_name(ar->hw->wiphy)); 1732 wiphy_name(ar->hw->wiphy));
1732 ar9170_dump_txqueue(ar, &ar->tx_pending[i]); 1733 ar9170_dump_txqueue(ar, &ar->tx_pending[i]);
1733 ar9170_dump_txqueue(ar, &ar->tx_status[i]); 1734 ar9170_dump_txqueue(ar, &ar->tx_status[i]);