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.
This commit is contained in:
Jouni Malinen 2010-06-03 23:35:34 -07:00 committed by Jouni Malinen
parent ed1c1ebfb4
commit 00ae50bc87

View File

@ -737,7 +737,7 @@ static int
madwifi_set_wps_ie(void *priv, const u8 *ie, size_t len, u32 frametype) madwifi_set_wps_ie(void *priv, const u8 *ie, size_t len, u32 frametype)
{ {
struct madwifi_driver_data *drv = priv; struct madwifi_driver_data *drv = priv;
u8 buf[256]; u8 buf[500];
struct ieee80211req_getset_appiebuf *beac_ie; struct ieee80211req_getset_appiebuf *beac_ie;
wpa_printf(MSG_DEBUG, "%s buflen = %lu", __func__, wpa_printf(MSG_DEBUG, "%s buflen = %lu", __func__,