aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_bsd.c
diff options
context:
space:
mode:
authorRyo ONODERA <ryo@tetera.org>2019-04-13 00:50:56 (GMT)
committerJouni Malinen <j@w1.fi>2019-04-13 08:26:25 (GMT)
commit8f36c84a27b55c2724df113c22e84f9c92f84635 (patch)
tree43dadcc095bb23669926476208d3f0bbbb8c3342 /src/drivers/driver_bsd.c
parent61876c7eed3529d4fe8f9d1432a5cc800e6b4a98 (diff)
downloadhostap-8f36c84a27b55c2724df113c22e84f9c92f84635.zip
hostap-8f36c84a27b55c2724df113c22e84f9c92f84635.tar.gz
hostap-8f36c84a27b55c2724df113c22e84f9c92f84635.tar.bz2
bsd: Fix a typo in error message
When SIOCG80211 failed, show error message with SIOCG80211 instead of SIOCS80211. Signed-off-by: Ryo ONODERA <ryo@tetera.org>
Diffstat (limited to 'src/drivers/driver_bsd.c')
-rw-r--r--src/drivers/driver_bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index 8621aa0..4675496 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -143,7 +143,7 @@ bsd_get80211(void *priv, struct ieee80211req *ireq, int op, void *arg,
ireq->i_data = arg;
if (ioctl(drv->global->sock, SIOCG80211, ireq) < 0) {
- wpa_printf(MSG_ERROR, "ioctl[SIOCS80211, op=%u, "
+ wpa_printf(MSG_ERROR, "ioctl[SIOCG80211, op=%u, "
"arg_len=%u]: %s", op, arg_len, strerror(errno));
return -1;
}