Skip to content

Commit

Permalink
Staging: wlan-ng: Replace WLAN_LOG_NOTICE with printk()
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Moritz Muehlenhoff authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 0905047 commit 2acbf9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/wlan-ng/p80211netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/wlan-ng/wlan_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__; \
Expand Down

0 comments on commit 2acbf9d

Please sign in to comment.