Hello Rujun, Thank you for your help and patch. Now hostapd and wpa_supplicant are working properly with WPS. :-) Regards, Xue Liu On 10/05/16 12:52, Wang Linetkux wrote: > "wpabuf_free" is called in "dh5_init"