diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 0433ca64b..654438cec 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -60,12 +60,6 @@ #ifdef ANDROID #include "android_drv.h" - -/* system/core/libnl_2 in AOSP does not include nla_put_u32() */ -int nla_put_u32(struct nl_msg *msg, int attrtype, uint32_t value) -{ - return nla_put(msg, attrtype, sizeof(uint32_t), &value); -} #endif /* ANDROID */ #ifdef CONFIG_LIBNL20 /* libnl 2.0 compatibility code */