summaryrefslogtreecommitdiff
path: root/wilink_6_1
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2009-09-15 16:26:25 +0800
committerChung-yih Wang <cywang@google.com>2009-09-15 16:26:25 +0800
commitb0f27977402244a1b44d5d8bd06bacb5ee258bdf (patch)
tree82ad2c74f9820cf2ccda28e72d7caa09c6110028 /wilink_6_1
parent20f16e25734c96dc7e48e3a9577180460404773f (diff)
downloadti-b0f27977402244a1b44d5d8bd06bacb5ee258bdf.tar.gz
Fix the JUNK SSID check in the ti driver for voles platform.
The same fix as the CL 25017.
Diffstat (limited to 'wilink_6_1')
-rw-r--r--wilink_6_1/utils/osDot11.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/wilink_6_1/utils/osDot11.h b/wilink_6_1/utils/osDot11.h
index 245560a..4973e5c 100644
--- a/wilink_6_1/utils/osDot11.h
+++ b/wilink_6_1/utils/osDot11.h
@@ -56,9 +56,9 @@
#define OS_802_11_SSID_JUNK(str,len) \
((len) > 2 && \
- (str)[0] < OS_802_11_SSID_FIRST_VALID_CHAR && \
- (str)[1] < OS_802_11_SSID_FIRST_VALID_CHAR && \
- (str)[2] < OS_802_11_SSID_FIRST_VALID_CHAR)
+ (unsigned char)(str)[0] < OS_802_11_SSID_FIRST_VALID_CHAR && \
+ (unsigned char)(str)[1] < OS_802_11_SSID_FIRST_VALID_CHAR && \
+ (unsigned char)(str)[2] < OS_802_11_SSID_FIRST_VALID_CHAR)
/**/
@@ -683,4 +683,3 @@ typedef enum _OS_802_11_REG_DOMAIN
#define OS_802_11_OPTION_ENABLE_ALL 0x00000003
#endif
-