Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
wpa_supplicant
wpa_supplicant-errormsg.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wpa_supplicant-errormsg.patch of Package wpa_supplicant
Index: src/drivers/driver_wext.c =================================================================== --- src/drivers/driver_wext.c.orig +++ src/drivers/driver_wext.c @@ -54,12 +54,13 @@ int wpa_driver_wext_set_auth_param(struc iwr.u.param.value = value; if (ioctl(drv->ioctl_sock, SIOCSIWAUTH, &iwr) < 0) { + int saved_errno = errno; if (errno != EOPNOTSUPP) { wpa_printf(MSG_DEBUG, "WEXT: SIOCSIWAUTH(param %d " "value 0x%x) failed: %s)", idx, value, strerror(errno)); } - ret = errno == EOPNOTSUPP ? -2 : -1; + ret = saved_errno == EOPNOTSUPP ? -2 : -1; } return ret;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor