]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix tx_control_port error print
authorJouni Malinen <j@w1.fi>
Sun, 8 Mar 2020 14:38:57 +0000 (16:38 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 8 Mar 2020 14:38:57 +0000 (16:38 +0200)
commit17ba51b14dc19c0e1ec86888ff6a010479c25fdf
tree52a939136efcaccfafcb79a732d328352ab7a1ea
parentbb2ea8e5e3a4cabf7c8959abc67a12a1bf2d1044
nl80211: Fix tx_control_port error print

send_and_recv_msgs() returns a negative number as the error code and
that needs to be negated for strerror().

Fixes: 8759e9116aa6 ("nl80211: Control port over nl80211 helpers")
Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c