Browse Source

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()..
Jouni Malinen 16 years ago
parent
commit
39e50be082
2 changed files with 2 additions and 0 deletions
  1. 1 0
      hostapd/ChangeLog
  2. 1 0
      hostapd/ieee802_11.c

+ 1 - 0
hostapd/ChangeLog

@@ -17,6 +17,7 @@ ChangeLog for hostapd
 	* fixed EAP-TLS message processing for the last TLS message if it is
 	* fixed EAP-TLS message processing for the last TLS message if it is
 	  large enough to require fragmentation (e.g., if a large Session
 	  large enough to require fragmentation (e.g., if a large Session
 	  Ticket data is included)
 	  Ticket data is included)
+	* fixed listen interval configuration for nl80211 drivers
 
 
 2008-11-01 - v0.6.5
 2008-11-01 - v0.6.5
 	* added support for SHA-256 as X.509 certificate digest when using the
 	* added support for SHA-256 as X.509 certificate digest when using the

+ 1 - 0
hostapd/ieee802_11.c

@@ -721,6 +721,7 @@ static void handle_assoc(struct hostapd_data *hapd,
 	}
 	}
 
 
 	sta->capability = capab_info;
 	sta->capability = capab_info;
+	sta->listen_interval = listen_interval;
 
 
 	/* followed by SSID and Supported rates; and HT capabilities if 802.11n
 	/* followed by SSID and Supported rates; and HT capabilities if 802.11n
 	 * is used */
 	 * is used */