diff options
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_proc.c')
-rw-r--r-- | drivers/net/wireless/hostap/hostap_proc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/hostap/hostap_proc.c b/drivers/net/wireless/hostap/hostap_proc.c index 75ef8f04aabe..dc447c1b5abe 100644 --- a/drivers/net/wireless/hostap/hostap_proc.c +++ b/drivers/net/wireless/hostap/hostap_proc.c | |||
@@ -58,8 +58,7 @@ static int prism2_stats_proc_read(char *page, char **start, off_t off, | |||
58 | { | 58 | { |
59 | char *p = page; | 59 | char *p = page; |
60 | local_info_t *local = (local_info_t *) data; | 60 | local_info_t *local = (local_info_t *) data; |
61 | struct comm_tallies_sums *sums = (struct comm_tallies_sums *) | 61 | struct comm_tallies_sums *sums = &local->comm_tallies; |
62 | &local->comm_tallies; | ||
63 | 62 | ||
64 | if (off != 0) { | 63 | if (off != 0) { |
65 | *eof = 1; | 64 | *eof = 1; |