FT: Make FT-over-DS configurable (hostapd.conf ft_over_ds=0/1)

This commit is contained in:
Shan Palanisamy 2010-10-25 13:35:51 +03:00 committed by Jouni Malinen
parent c0647147c1
commit d7956add9c
6 changed files with 12 additions and 1 deletions

View file

@ -92,7 +92,9 @@ int wpa_write_mdie(struct wpa_auth_config *conf, u8 *buf, size_t len)
*pos++ = MOBILITY_DOMAIN_ID_LEN + 1;
os_memcpy(pos, conf->mobility_domain, MOBILITY_DOMAIN_ID_LEN);
pos += MOBILITY_DOMAIN_ID_LEN;
capab = RSN_FT_CAPAB_FT_OVER_DS;
capab = 0;
if (conf->ft_over_ds)
capab |= RSN_FT_CAPAB_FT_OVER_DS;
*pos++ = capab;
return pos - buf;