BSD: __FUNCTION__ -> __func__
Signed-off-by: Roy Marples <roy@marples.name>
This commit is contained in:
parent
2088ecb970
commit
5f17b2c60e
1 changed files with 2 additions and 2 deletions
|
@ -966,7 +966,7 @@ wpa_driver_bsd_set_wpa_internal(void *priv, int wpa, int privacy)
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
wpa_printf(MSG_DEBUG, "%s: wpa=%d privacy=%d",
|
wpa_printf(MSG_DEBUG, "%s: wpa=%d privacy=%d",
|
||||||
__FUNCTION__, wpa, privacy);
|
__func__, wpa, privacy);
|
||||||
|
|
||||||
if (!wpa && wpa_driver_bsd_set_wpa_ie(priv, NULL, 0) < 0)
|
if (!wpa && wpa_driver_bsd_set_wpa_ie(priv, NULL, 0) < 0)
|
||||||
ret = -1;
|
ret = -1;
|
||||||
|
@ -981,7 +981,7 @@ wpa_driver_bsd_set_wpa_internal(void *priv, int wpa, int privacy)
|
||||||
static int
|
static int
|
||||||
wpa_driver_bsd_set_wpa(void *priv, int enabled)
|
wpa_driver_bsd_set_wpa(void *priv, int enabled)
|
||||||
{
|
{
|
||||||
wpa_printf(MSG_DEBUG, "%s: enabled=%d", __FUNCTION__, enabled);
|
wpa_printf(MSG_DEBUG, "%s: enabled=%d", __func__, enabled);
|
||||||
|
|
||||||
return wpa_driver_bsd_set_wpa_internal(priv, enabled ? 3 : 0, enabled);
|
return wpa_driver_bsd_set_wpa_internal(priv, enabled ? 3 : 0, enabled);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue