]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Use nla_nest_start/end instead of nla_put_nested
authorJohannes Berg <johannes.berg@intel.com>
Sat, 30 Mar 2013 18:37:44 +0000 (20:37 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 30 Mar 2013 18:37:44 +0000 (20:37 +0200)
commit8970bae806a51aa7b4d7b106d51814bb1009cf01
tree5f1513070e359611d8f731bd8a0b563366b4a99f
parentfde43cddb9ba7bf70e075f01030441ca069e40ab
nl80211: Use nla_nest_start/end instead of nla_put_nested

Instead of allocating a new message and then moving that into
the message being built, use nla_nest_start() and put the data
into the message directly.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/drivers/driver_nl80211.c