Staging: wlan-ng: Replace WLAN_LOG_NOTICE with printk()
authorMoritz Muehlenhoff <jmm@debian.org>
Sun, 25 Jan 2009 20:54:59 +0000 (21:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:17 +0000 (14:53 -0700)
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/wlan-ng/p80211netdev.c
drivers/staging/wlan-ng/wlan_compat.h

index 7be8efaf7c6fad23ffbeb825dd921061d0c9535a..85a686b2ecea5ccd3ebf691e7f5115402206cc99 100644 (file)
@@ -418,7 +418,7 @@ static int p80211knetdev_hard_start_xmit( struct sk_buff *skb, netdevice_t *netd
                 */
                if(skb->protocol != ETH_P_80211_RAW) {
                        netif_start_queue(wlandev->netdev);
-                       WLAN_LOG_NOTICE(
+                       printk(KERN_NOTICE
                                "Tx attempt prior to association, frame dropped.\n");
                        wlandev->linux_stats.tx_dropped++;
                        result = 0;
index 42d8d0c95b60dc39d3bdcad12128c0c670cc2cae..fd4728b35f9b0ca7d762ff76d48d055789e193fa 100644 (file)
@@ -62,8 +62,6 @@
 
 #define WLAN_LOG_WARNING(x,args...) printk(KERN_WARNING "%s: " x , __func__ , ##args);
 
-#define WLAN_LOG_NOTICE(x,args...) printk(KERN_NOTICE "%s: " x , __func__ , ##args);
-
 #if defined(WLAN_INCLUDE_DEBUG)
        #define WLAN_HEX_DUMP( l, x, p, n)      if( WLAN_DBVAR >= (l) ){ \
                int __i__; \