From 00ae50bc879479f556c6919d8003dbfdb3e24c2d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 3 Jun 2010 23:35:34 -0700 Subject: [PATCH] atheros: Use larger buffer for WSC IE changes This resolves issues in updating Beacon/Probe Response frame IEs in a case where the value may be long enough to get fragmented into multiple IEs. --- src/drivers/driver_atheros.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c index 5c25f00b1..f246a12d4 100644 --- a/src/drivers/driver_atheros.c +++ b/src/drivers/driver_atheros.c @@ -737,7 +737,7 @@ static int madwifi_set_wps_ie(void *priv, const u8 *ie, size_t len, u32 frametype) { struct madwifi_driver_data *drv = priv; - u8 buf[256]; + u8 buf[500]; struct ieee80211req_getset_appiebuf *beac_ie; wpa_printf(MSG_DEBUG, "%s buflen = %lu", __func__,