From: Jouni Malinen Date: Fri, 4 Jun 2010 06:35:34 +0000 (-0700) Subject: atheros: Use larger buffer for WSC IE changes X-Git-Tag: hostap-1-bp~1185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00ae50bc879479f556c6919d8003dbfdb3e24c2d;p=thirdparty%2Fhostap.git 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. --- 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__,