]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - hostapd/ctrl_iface.c
AP: Support Extended Key ID
[thirdparty/hostap.git] / hostapd / ctrl_iface.c
index 6d2ecbc9c2759236482636e0fe87ed47b40c9e3e..1a369ed2aedabe0c1c99fdb4884550373fdd54dc 100644 (file)
@@ -1295,6 +1295,14 @@ static int hostapd_ctrl_iface_get_config(struct hostapd_data *hapd,
                pos += ret;
        }
 
+       if ((hapd->conf->wpa & WPA_PROTO_RSN) && hapd->conf->extended_key_id) {
+               ret = os_snprintf(pos, end - pos, "extended_key_id=%d\n",
+                                 hapd->conf->extended_key_id);
+               if (os_snprintf_error(end - pos, ret))
+                       return pos - buf;
+               pos += ret;
+       }
+
        return pos - buf;
 }