commit | e1938ba93480e4a4681e92cd3b513f2e2474d494 | [log] [tgz] |
---|---|---|
author | Jouni Malinen <j@w1.fi> | Sun Aug 16 22:38:31 2015 +0300 |
committer | Jouni Malinen <j@w1.fi> | Sun Aug 16 23:14:44 2015 +0300 |
tree | 26d6ea8dd2dbc0286ae0df6dccff8ee13ce240d6 | |
parent | a8fd08f7fcd4a5a460de12988fe816cc4c99c591 [diff] |
WPS: Fix multi-interface WPS operations in hostapd Couple of the for-each-interface loops used incorrect return value when skipping over non-WPS interfaces. This could result in skipping some WPS interfaces in the loop and returning error. Setting AP PIN did not check for WPS being enabled at all and trigger a NULL pointer dereference if non-WPS interface was enabled. Signed-off-by: Jouni Malinen <j@w1.fi>