Fixed listen interval configuration for nl80211 drivers
authorJouni Malinen <j@w1.fi>
Sat, 22 Nov 2008 19:20:27 +0000 (21:20 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 22 Nov 2008 19:20:27 +0000 (21:20 +0200)
Need to update the struct sta_info value, too, and not only the local
variable used in handle_assoc()..

hostapd/ChangeLog
hostapd/ieee802_11.c

index 6e4a869..9a000b1 100644 (file)
@@ -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
index 894d2bc..4b50217 100644 (file)
@@ -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 */