Enabling it by default can be bad. For example for captive portals.
Effectively revert commit
4f6c91d6962cc031f07e52bb31adde560ad70fac
to again disable it by default.
https://bugzilla.gnome.org/show_bug.cgi?id=734081
</varlistentry>
<varlistentry>
<term><varname>wifi.mac-address-randomization</varname></term>
- <listitem><para>If left unspecified, MAC address randomization is used supported.</para></listitem>
+ <listitem><para>If left unspecified, MAC address randomization is disabled.</para></listitem>
</varlistentry>
</para>
</refsect1>
if (priv->mac_randomization == NM_SETTING_MAC_RANDOMIZATION_DEFAULT) {
priv->mac_randomization = mac_randomization_fallback;
if (priv->mac_randomization == NM_SETTING_MAC_RANDOMIZATION_DEFAULT) {
- /* use randomization if supported. */
- priv->mac_randomization = (mac_randomization_support == NM_SUPPLICANT_FEATURE_YES)
- ? NM_SETTING_MAC_RANDOMIZATION_ALWAYS
- : NM_SETTING_MAC_RANDOMIZATION_NEVER;
+ /* Don't use randomization, unless explicitly enabled.
+ * Randomization can work badly with captive portals. */
+ priv->mac_randomization = NM_SETTING_MAC_RANDOMIZATION_NEVER;
}
}