hostapd: fix broke noscan option for mesh
[openwrt/openwrt.git] / package / network / services / hostapd / patches / 301-mesh-noscan.patch
index 6b5416f0ea57ec73b85d7bd6d8cc17fc3465be8f..0e654febd5781c3645bc9477d6047658d8899c40 100644 (file)
@@ -24,8 +24,8 @@
                           frequency);
                goto out_free;
        }
-+      if (ssid->noscan)
-+              conf->noscan = 1;
++      if (conf->noscan)
++              ssid->noscan = 1;
  
        if (ssid->mesh_basic_rates == NULL) {
                /*