hostap/src
Jithu Jance d3d048310c nl80211: Work around error case prints for nl_recvmsgs on Android
I got the below prints on a particular Android platform:

I/wpa_supplicant( 2637): nl80211: send_and_recv->nl_recvmsgs failed: 20
I/wpa_supplicant( 2637): nl80211: send_and_recv->nl_recvmsgs failed: 20

In JellyBean libnl_2 code, I see that the nl_recvmsgs returns postive values
too. In some cases, nl_recvmgs return the output of nl_recv function. nl_recv
function can return Number of bytes read, 0 or a negative error code.

Looks like this positive return value for nl_recvmsgs may be specific to
Android. While this is not how the API is supposed to work, this does no
harm with upstream libnl which returns only 0 or -1 from the function.

Signed-off-by: Jithu Jance <jithu@broadcom.com>
2014-06-01 11:25:02 +03:00
..
ap hostapd: Make sure hapd->drv_priv gets cleared on driver deinit 2014-05-31 17:11:04 +03:00
common SAE: Fix memory leak in random number generation 2014-05-31 22:24:31 +03:00
crypto OpenSSL: Fix OCSP certificate debug print to use wpa_printf 2014-05-29 15:37:18 +03:00
drivers nl80211: Work around error case prints for nl_recvmsgs on Android 2014-06-01 11:25:02 +03:00
eap_common EAP-pwd peer: Export Session-Id through getSessionId callback 2014-05-11 21:22:55 +03:00
eap_peer TNC: Move common definitions into a shared header file 2014-05-17 20:05:55 +03:00
eap_server TNC: Allow TNC to be enabled dynamically 2014-05-17 20:05:55 +03:00
eapol_auth RADIUS server: Allow EAP methods to log into SQLite DB 2014-03-09 18:21:13 +02:00
eapol_supp MACsec: Add define for EAPOL type MKA 2014-05-09 20:05:28 +03:00
l2_packet l2_packet: Fix l2_packet_none (hostapd default) 2014-04-14 23:04:55 +03:00
p2p P2P NFC: Fix use of freed memory 2014-05-31 23:10:33 +03:00
pae MACsec: Add PAE implementation 2014-05-09 20:42:44 +03:00
radius RADIUS client: Trigger failover more quickly if socket is not valid 2014-05-30 20:52:08 +03:00
rsn_supp TDLS: Fully tear down existing link before setup 2014-04-29 18:59:12 +03:00
tls PKCS 1: Add function for checking v1.5 RSA signature 2014-05-20 19:52:18 +03:00
utils tests: Unit tests for WPA_TRACE 2014-05-27 00:03:06 +03:00
wps Make dl_list_first() and dl_list_last() uses easier for static analyzers 2014-04-29 12:52:10 +03:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile MACsec: Add PAE implementation 2014-05-09 20:42:44 +03:00