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

Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Moritz Muehlenhoff 2009-01-25 21:54:59 +01:00 committed by Greg Kroah-Hartman
parent 0905047016
commit 2acbf9de06
2 changed files with 1 additions and 3 deletions

View 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;

View 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__; \