aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_atheros.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2011-06-25 12:41:46 (GMT)
committerJouni Malinen <j@w1.fi>2011-06-25 12:41:46 (GMT)
commit567afddb69a84aa144a87e27ad94baa40967d964 (patch)
treeb16342f53cc21153c09850c791a5812cdf1bb0c5 /src/drivers/driver_atheros.c
parent8be6450cb661587f065ec8d0649d2f690c5a2264 (diff)
downloadhostap-567afddb69a84aa144a87e27ad94baa40967d964.zip
hostap-567afddb69a84aa144a87e27ad94baa40967d964.tar.gz
hostap-567afddb69a84aa144a87e27ad94baa40967d964.tar.bz2
atheros: Fix glibc 'invalid pointer' error when WPA_TRACE is enabled
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Diffstat (limited to 'src/drivers/driver_atheros.c')
-rw-r--r--src/drivers/driver_atheros.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c
index 96ef8bb..1e78f6e 100644
--- a/src/drivers/driver_atheros.c
+++ b/src/drivers/driver_atheros.c
@@ -1116,7 +1116,7 @@ atheros_get_we_version(struct atheros_driver_data *drv)
drv->we_version = range->we_version_compiled;
}
- free(range);
+ os_free(range);
return 0;
}