From: Jouni Malinen Date: Sat, 22 Nov 2008 19:20:27 +0000 (+0200) Subject: Fixed listen interval configuration for nl80211 drivers X-Git-Tag: hostap_0_6_6~5 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=libeap.git;a=commitdiff_plain;h=39e50be082b4d07022d41e5a6245e5ee58e06807 Fixed listen interval configuration for nl80211 drivers Need to update the struct sta_info value, too, and not only the local variable used in handle_assoc().. --- diff --git a/hostapd/ChangeLog b/hostapd/ChangeLog index 6e4a869..9a000b1 100644 --- a/hostapd/ChangeLog +++ b/hostapd/ChangeLog @@ -17,6 +17,7 @@ ChangeLog for hostapd * fixed EAP-TLS message processing for the last TLS message if it is large enough to require fragmentation (e.g., if a large Session Ticket data is included) + * fixed listen interval configuration for nl80211 drivers 2008-11-01 - v0.6.5 * added support for SHA-256 as X.509 certificate digest when using the diff --git a/hostapd/ieee802_11.c b/hostapd/ieee802_11.c index 894d2bc..4b50217 100644 --- a/hostapd/ieee802_11.c +++ b/hostapd/ieee802_11.c @@ -721,6 +721,7 @@ static void handle_assoc(struct hostapd_data *hapd, } sta->capability = capab_info; + sta->listen_interval = listen_interval; /* followed by SSID and Supported rates; and HT capabilities if 802.11n * is used */