Revert "nl80211: Add nla_put_u32() wrapper for Android"
This reverts commit df2f9ec6b2
.
The current AOSP snapshot for JB includes nla_put_u32(), so this is not
needed anymore and is also causing linking issues due to duplicated
definition.
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
e32547ef4c
commit
048edb1070
1 changed files with 0 additions and 6 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue