mac80211-hwsim: Factor out netlink attribute appending
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 12 Nov 2014 14:42:39 +0000 (16:42 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 19 Nov 2014 17:59:32 +0000 (18:59 +0100)
commitc449981c4761f16d57db70834bee0380c7c97f18
treee218897a692079236c3d20221207ebe22819b160
parent18e5ca65e55da4cacd9deb4e934eb5429bb4b79d
mac80211-hwsim: Factor out netlink attribute appending

Factor out netlink message attribute appending in order to reuse it
with later code. As a result move netlink skb allocation to the
calling function.

Signed-off-by: Patrik Flykt <patrik.flykt@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c