summaryrefslogtreecommitdiffstats
path: root/bcmdhd/wpa_supplicant_8_lib
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-03-12 23:33:23 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-12 23:33:23 +0000
commitca9d062fbfd902a47d3edff570ce06496e0df2df (patch)
treed7bfbef5e61433af6f91e936c04227c681478c5d /bcmdhd/wpa_supplicant_8_lib
parentbb2ff814975703e13bbd7ebf87fdab73dc758415 (diff)
parent54e43fb7419dc971d7ec52e93e966b7500a2b4f9 (diff)
downloadhardware_broadcom_wlan-ca9d062fbfd902a47d3edff570ce06496e0df2df.zip
hardware_broadcom_wlan-ca9d062fbfd902a47d3edff570ce06496e0df2df.tar.gz
hardware_broadcom_wlan-ca9d062fbfd902a47d3edff570ce06496e0df2df.tar.bz2
am 54e43fb7: am 5d3b8bbf: am ab3e9a4c: Merge "broadcom/wlan: 64-bit compile issue"
* commit '54e43fb7419dc971d7ec52e93e966b7500a2b4f9': broadcom/wlan: 64-bit compile issue
Diffstat (limited to 'bcmdhd/wpa_supplicant_8_lib')
-rw-r--r--bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c b/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
index 37ce033..b3ece47 100644
--- a/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
+++ b/bcmdhd/wpa_supplicant_8_lib/driver_cmd_nl80211.c
@@ -10,6 +10,7 @@
*
*/
+#include <sys/cdefs.h>
#include "hardware_legacy/driver_nl80211.h"
#include "wpa_supplicant_i.h"
#include "config.h"
@@ -109,7 +110,7 @@ int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf,
(os_strncasecmp(cmd, "SETBAND", 7) == 0))
wpa_supplicant_event(drv->ctx,
EVENT_CHANNEL_LIST_CHANGED, NULL);
- wpa_printf(MSG_DEBUG, "%s %s len = %d, %d", __func__, buf, ret, strlen(buf));
+ wpa_printf(MSG_DEBUG, "%s %s len = %d, %zu", __func__, buf, ret, strlen(buf));
}
}
return ret;
@@ -125,7 +126,7 @@ int wpa_driver_set_p2p_noa(void *priv, u8 count, int start, int duration)
return wpa_driver_nl80211_driver_cmd(priv, buf, buf, strlen(buf)+1);
}
-int wpa_driver_get_p2p_noa(void *priv, u8 *buf, size_t len)
+int wpa_driver_get_p2p_noa(void *priv __unused, u8 *buf __unused, size_t len __unused)
{
/* Return 0 till we handle p2p_presence request completely in the driver */
return 0;