Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 598138 - net-wireless/wpa_supplicant-2.6 - fails to set missing configuration values
Summary: net-wireless/wpa_supplicant-2.6 - fails to set missing configuration values
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
: 565450 596840 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-26 15:44 UTC by Stefan Ott
Modified: 2017-12-08 16:57 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Check for missing config options (wpa-supplicant-config-options.patch,714 bytes, patch)
2016-10-26 15:44 UTC, Stefan Ott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Ott 2016-10-26 15:44:48 UTC
Created attachment 451512 [details, diff]
Check for missing config options

The current ebuild for version 2.6 fails to set build configuration values that are not present in the default configuration.

An example is the IBSS_RSN option: The ebuild says Kconfig_style_config IBSS_RSN but the option does not show up in the generated .config file because it is missing from wpa_supplicant's defconfig.

The attached patch fixes this by modifying the Kconfig_style_config function to check whether the option has been set and, if not, add it at the end of the file.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2017-12-08 16:48:15 UTC
wow, nice catch.  this fixes a lot more than IBSS too:

CONFIG_IBSS_RSN=y
CONFIG_EAP_TLV=y
CONFIG_EAP_EXE=y
CONFIG_BGSCAN_SIMPLE=y
CONFIG_BGSCAN_LEARN=y
CONFIG_MESH=y
CONFIG_DRIVER_ATMEL=y
CONFIG_DRIVER_HOSTAP=y
CONFIG_DRIVER_IPW=y
CONFIG_DRIVER_RALINK=y
CONFIG_WPS2=y
CONFIG_WPS_UFD=y
CONFIG_WPS_UPNP=y


thanks a lot!

fixing in 2.6-r4 (fixing a lot of bugs so it will be up shortly)
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2017-12-08 16:52:30 UTC
*** Bug 565450 has been marked as a duplicate of this bug. ***
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2017-12-08 16:57:56 UTC
*** Bug 596840 has been marked as a duplicate of this bug. ***