Jouni Malinen
54a800dd51
netlink: Fix RTM_SETLINK padding at the end of the message
...
While the kernel seems to have accepted the message to set linkmode and
operstate without the final attribute getting padded to 32-bit length,
it is better to get this cleaned up to match expected format. The double
NLMSG_ALIGN() followed by RTA_LENGTH() did not make much sense here.
Signed-off-by: Jouni Malinen <j@w1.fi>
2014-10-12 19:27:16 +03:00
Jouni Malinen
90a545ccba
nl80211: Clean up netlink parsing and debug prints
...
This makes the RTM_NEWLINK, RTM_DELLINK, and operstate debug messages
easier to understand.
Signed-hostap: Jouni Malinen <j@w1.fi>
2014-01-07 10:45:12 +02:00
Jouni Malinen
0f3d578efc
Remove the GPL notification from files contributed by Jouni Malinen
...
Remove the GPL notification text from the files that were
initially contributed by myself.
Signed-hostap: Jouni Malinen <j@w1.fi>
2012-02-11 19:39:36 +02:00
Jouni Malinen
f37cf89ccb
netlink: Use NLMSG_OK and NLMSG_NEXT macros
2009-12-18 17:22:35 +02:00
Jouni Malinen
3b31db5199
Fix netlink payload length calculation
...
nlmsghdr length needs to be removed from payload length. [Bug 341]
2009-12-18 16:14:54 +02:00
Jouni Malinen
6fc6879bd5
Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 release
2008-02-27 17:34:43 -08:00