nl80211: Fix strerror() value in P2P Dev debug messages
authorJouni Malinen <j@w1.fi>
Sat, 26 Oct 2013 08:53:02 +0000 (11:53 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 26 Oct 2013 12:55:18 +0000 (15:55 +0300)
commit6cb4f11dba48c5703f064a1b17e2391d8eba0e49
tree22a9d2b51351f91482260899c88a6afed6ba7f5d
parent35f836375d4b0b46ca34a5872ac2c9e931e93340
nl80211: Fix strerror() value in P2P Dev debug messages

send_and_recv_msgs() returns negative errno, so need to use -ret in the
strerror() call.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c