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>
This commit is contained in:
parent
61876c7eed
commit
8f36c84a27
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue