@@ -236,7 +236,7 @@ static void __ar9170_dump_txqueue(struct ar9170 *ar,
236236 wiphy_name (ar -> hw -> wiphy ), skb_queue_len (queue ));
237237
238238 skb_queue_walk (queue , skb ) {
239- printk (KERN_DEBUG "index:%d => \n" , i ++ );
239+ printk (KERN_DEBUG "index:%d =>\n" , i ++ );
240240 ar9170_print_txheader (ar , skb );
241241 }
242242 if (i != skb_queue_len (queue ))
@@ -281,7 +281,7 @@ static void ar9170_dump_tx_status_ampdu(struct ar9170 *ar)
281281 unsigned long flags ;
282282
283283 spin_lock_irqsave (& ar -> tx_status_ampdu .lock , flags );
284- printk (KERN_DEBUG "%s: A-MPDU tx_status queue => \n" ,
284+ printk (KERN_DEBUG "%s: A-MPDU tx_status queue =>\n" ,
285285 wiphy_name (ar -> hw -> wiphy ));
286286 __ar9170_dump_txqueue (ar , & ar -> tx_status_ampdu );
287287 spin_unlock_irqrestore (& ar -> tx_status_ampdu .lock , flags );
@@ -308,7 +308,7 @@ static void ar9170_recycle_expired(struct ar9170 *ar,
308308 if (time_is_before_jiffies (arinfo -> timeout )) {
309309#ifdef AR9170_QUEUE_DEBUG
310310 printk (KERN_DEBUG "%s: [%ld > %ld] frame expired => "
311- "recycle \n" , wiphy_name (ar -> hw -> wiphy ),
311+ "recycle\n" , wiphy_name (ar -> hw -> wiphy ),
312312 jiffies , arinfo -> timeout );
313313 ar9170_print_txheader (ar , skb );
314314#endif /* AR9170_QUEUE_DEBUG */
@@ -689,7 +689,8 @@ void ar9170_handle_command_response(struct ar9170 *ar, void *buf, u32 len)
689689
690690 /* firmware debug */
691691 case 0xca :
692- printk (KERN_DEBUG "ar9170 FW: %.*s\n" , len - 4 , (char * )buf + 4 );
692+ printk (KERN_DEBUG "ar9170 FW: %.*s\n" , len - 4 ,
693+ (char * )buf + 4 );
693694 break ;
694695 case 0xcb :
695696 len -= 4 ;
@@ -1728,7 +1729,7 @@ static void ar9170_tx(struct ar9170 *ar)
17281729 printk (KERN_DEBUG "%s: queue %d full\n" ,
17291730 wiphy_name (ar -> hw -> wiphy ), i );
17301731
1731- printk (KERN_DEBUG "%s: stuck frames: ===> \n" ,
1732+ printk (KERN_DEBUG "%s: stuck frames: ===>\n" ,
17321733 wiphy_name (ar -> hw -> wiphy ));
17331734 ar9170_dump_txqueue (ar , & ar -> tx_pending [i ]);
17341735 ar9170_dump_txqueue (ar , & ar -> tx_status [i ]);
@@ -2512,7 +2513,7 @@ void *ar9170_alloc(size_t priv_size)
25122513 * tends to split the streams into separate rx descriptors.
25132514 */
25142515
2515- skb = __dev_alloc_skb (AR9170_MAX_RX_BUFFER_SIZE , GFP_KERNEL );
2516+ skb = __dev_alloc_skb (AR9170_RX_STREAM_MAX_SIZE , GFP_KERNEL );
25162517 if (!skb )
25172518 goto err_nomem ;
25182519
0 commit comments