WPS: Do not use Selected Registrar Config Methods from scan results
authorAndriy Tkachuk <andreit@mtlk.com>
Thu, 25 Dec 2008 18:33:00 +0000 (20:33 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 25 Dec 2008 18:33:00 +0000 (20:33 +0200)
commitfebc0551c547a8be459c7aae5b2213523452c3f2
tree9b65e8c273166d75dfdb103cb21555d05fa33c5b
parenta6f06dabb2f8e65593fc5e020777dc0776a0429e
WPS: Do not use Selected Registrar Config Methods from scan results

Before this change, it looked like an AP that was using wsccmd did not
get activated since wsccmd left the Selected Registrar Config Methods
attribute to be zero. Since Device Password ID can be used to
distinguish PBC from any other method, use only it to figure out whether
PBC or PIN method is active.
src/wps/wps.c