提交 2acbf9de 编写于 作者: M Moritz Muehlenhoff 提交者: Greg Kroah-Hartman

Staging: wlan-ng: Replace WLAN_LOG_NOTICE with printk()

Signed-off-by: NMoritz Muehlenhoff <jmm@debian.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 09050470
...@@ -418,7 +418,7 @@ static int p80211knetdev_hard_start_xmit( struct sk_buff *skb, netdevice_t *netd ...@@ -418,7 +418,7 @@ static int p80211knetdev_hard_start_xmit( struct sk_buff *skb, netdevice_t *netd
*/ */
if(skb->protocol != ETH_P_80211_RAW) { if(skb->protocol != ETH_P_80211_RAW) {
netif_start_queue(wlandev->netdev); netif_start_queue(wlandev->netdev);
WLAN_LOG_NOTICE( printk(KERN_NOTICE
"Tx attempt prior to association, frame dropped.\n"); "Tx attempt prior to association, frame dropped.\n");
wlandev->linux_stats.tx_dropped++; wlandev->linux_stats.tx_dropped++;
result = 0; result = 0;
......
...@@ -62,8 +62,6 @@ ...@@ -62,8 +62,6 @@
#define WLAN_LOG_WARNING(x,args...) printk(KERN_WARNING "%s: " x , __func__ , ##args); #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) #if defined(WLAN_INCLUDE_DEBUG)
#define WLAN_HEX_DUMP( l, x, p, n) if( WLAN_DBVAR >= (l) ){ \ #define WLAN_HEX_DUMP( l, x, p, n) if( WLAN_DBVAR >= (l) ){ \
int __i__; \ int __i__; \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册