Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141170
b: refs/heads/master
c: 0b98de3
h: refs/heads/master
v: v3
  • Loading branch information
Moritz Muehlenhoff authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 88bdf06 commit 447db53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b9556ecc4bd8279aec195de84fd7d45a9883547
refs/heads/master: 0b98de32d76d0667007d86ccae1c458b52ca457f
5 changes: 2 additions & 3 deletions trunk/drivers/staging/wlan-ng/wlan_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
#endif

#include <linux/hardirq.h>
#include <linux/ctype.h>

#if defined(WLAN_INCLUDE_DEBUG)
#define WLAN_HEX_DUMP( l, x, p, n) if( WLAN_DBVAR >= (l) ){ \
Expand All @@ -80,8 +81,6 @@ typedef struct net_device netdevice_t;
/*--- General Macros ------------------------------------------*/
/*=============================================================*/

#define wlan_isprint(c) (((c) > (0x19)) && ((c) < (0x7f)))

#define wlan_hexchar(x) (((x) < 0x0a) ? ('0' + (x)) : ('a' + ((x) - 0x0a)))

/* Create a string of printable chars from something that might not be */
Expand All @@ -92,7 +91,7 @@ typedef struct net_device netdevice_t;
int j = 0; \
memset(str, 0, (strlen)); \
for (i = 0; i < (buflen); i++) { \
if ( wlan_isprint((buf)[i]) ) { \
if ( isprint((buf)[i]) ) { \
(str)[j] = (buf)[i]; \
j++; \
} else { \
Expand Down

0 comments on commit 447db53

Please sign in to comment.