linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / net / irda / sa1100_ir.c
index f530686..63d38fb 100644 (file)
@@ -695,7 +695,8 @@ static int sa1100_irda_hard_xmit(struct sk_buff *skb, struct net_device *dev)
                /*
                 * We must not be transmitting...
                 */
-               BUG_ON(si->txskb);
+               if (si->txskb)
+                       BUG();
 
                netif_stop_queue(dev);