Red Hat Bugzilla – Bug 1254486
Do not quote value for 'scan_freq' and 'freq_list'
Last modified: 2016-05-10 15:31:25 EDT
wpa_supplicant in RHEL 6 adds quotes around the value of 'scan_freq' and 'freq_list'. That causes incorrect parsing of the options in wpa_config_parse_freqs().
The quotes should not be added. It has been fixed for new D-Bus interface by this upstream commit:
Upstream committed the fix:
Installed RHEL-6.8-20160229.n.0 (with wpa_supplicant-0.7.3-8.el6) on a test system, ran dbus-monitor, and configured wpa_supplicant to connect to an unencrypted network with scan_freq=2412 and freq_list=2412 in the network block within wpa_supplicant.conf. Started the wpa_supplicant service and checked dbus-monitor to see what signals wpa_supplicant was sending. I was unable to find the scan_freq or freq_list values in any of the signal messages. I noticed that the dbus interface for wpa_supplicant on RHEL-6.8 is /fi/epitest/hostap/WPASupplicant, which is the old interface. The old interface is apparently not very verbose in its output. This is versus testing I did in RHEL-7.2 where wpa_supplicant uses the new /fi/w1/wpa_supplicant1 interface which does include the scan_freq and freq_list values in the dbus signal messages. Apart from recompiling wpa_supplicant from source to use the new dbus interface there is nothing to test in the RHEL-6.8 build of this package. I have downloaded the source rpm for wpa_supplicant and verified that the rh1254486-dont-qoute-scan_freq-and-freq_list.patch file is present and correct and performing an rpmbuild --rebuild on wpa_supplicant-0.7.3-8.el6.src.rpm shows that the patch does get patched in correctly. Verifying as SanityOnly.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.