OSDN Git Service

Merge "Add PKTCNT_POLL command to get TX packet counters" into jb-mr1-dev
authorIrfan Sheriff <isheriff@google.com>
Fri, 3 Aug 2012 17:15:30 +0000 (10:15 -0700)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Fri, 3 Aug 2012 17:15:31 +0000 (10:15 -0700)
wpa_supplicant/wps_supplicant.c

index 7356d1a..0873b1a 100644 (file)
@@ -1760,6 +1760,7 @@ void wpas_wps_update_config(struct wpa_supplicant *wpa_s)
                }
        }
        wps->config_methods = wps_fix_config_methods(wps->config_methods);
+       wps->dev.config_methods = wps->config_methods;
 
        if (wpa_s->conf->changed_parameters & CFG_CHANGED_DEVICE_TYPE)
                os_memcpy(wps->dev.pri_dev_type, wpa_s->conf->device_type,