diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-12-21 03:30:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:09:05 -0500 |
commit | 8a9faf3cd08b91aca1502dbe18e3b5063fda2e87 (patch) | |
tree | 4588f25ca8cd11833252370c3b0c7566004de050 /drivers/net/wireless/hostap/hostap_info.c | |
parent | 3eb9b41f2474c53fe469fbe383955d5aae9e76e4 (diff) |
hostap annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_info.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/hostap/hostap_info.c b/drivers/net/wireless/hostap/hostap_info.c index 636f4b2382e..e559b8d9fca 100644 --- a/drivers/net/wireless/hostap/hostap_info.c +++ b/drivers/net/wireless/hostap/hostap_info.c | |||
@@ -303,7 +303,7 @@ static void prism2_info_hostscanresults(local_info_t *local, | |||
303 | int i, result_size, copy_len, new_count; | 303 | int i, result_size, copy_len, new_count; |
304 | struct hfa384x_hostscan_result *results, *prev; | 304 | struct hfa384x_hostscan_result *results, *prev; |
305 | unsigned long flags; | 305 | unsigned long flags; |
306 | u16 *pos; | 306 | __le16 *pos; |
307 | u8 *ptr; | 307 | u8 *ptr; |
308 | 308 | ||
309 | wake_up_interruptible(&local->hostscan_wq); | 309 | wake_up_interruptible(&local->hostscan_wq); |
@@ -314,7 +314,7 @@ static void prism2_info_hostscanresults(local_info_t *local, | |||
314 | return; | 314 | return; |
315 | } | 315 | } |
316 | 316 | ||
317 | pos = (u16 *) buf; | 317 | pos = (__le16 *) buf; |
318 | copy_len = result_size = le16_to_cpu(*pos); | 318 | copy_len = result_size = le16_to_cpu(*pos); |
319 | if (result_size == 0) { | 319 | if (result_size == 0) { |
320 | printk(KERN_DEBUG "%s: invalid result_size (0) in " | 320 | printk(KERN_DEBUG "%s: invalid result_size (0) in " |