nl80211: Use nl80211_bss_msg() helper
authorJouni Malinen <j@w1.fi>
Sat, 6 Dec 2014 14:27:26 +0000 (16:27 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 6 Dec 2014 15:18:46 +0000 (17:18 +0200)
commit13f83980f01215f2d383c669c263ca6ae94c8463
treec60aa0b50a6ecc3b26d6b27eebf532bc74de3906
parenta3249fdfb81ea39dcd13fffeebc87a9d110695ec
nl80211: Use nl80211_bss_msg() helper

Use the helper function to replace places that use nlmsg_alloc(),
nl80211_cmd(), and either bss->ifindex or if_nametoindex(bss->ifname).

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c