Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1254486

Summary: Do not quote value for 'scan_freq' and 'freq_list'
Product: Red Hat Enterprise Linux 6 Reporter: Jirka Klimes <jklimes>
Component: wpa_supplicantAssignee: Rashid Khan <rkhan>
Status: CLOSED ERRATA QA Contact: Ken Benoit <kbenoit>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.8CC: dcbw, rkhan
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: wpa_supplicant-0.7.3-7.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-10 19:31:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1275424    

Description Jirka Klimes 2015-08-18 08:49:55 UTC
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:
http://w1.fi/cgit/hostap/commit/wpa_supplicant/dbus/dbus_new_handlers.c?id=99276998fa26d4299825eeafb6386fe1c51f6287

Comment 6 Ken Benoit 2016-02-29 17:57:13 UTC
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.

Comment 8 errata-xmlrpc 2016-05-10 19:31:25 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-0742.html