nl80211: Use nl80211_drv_msg() helper
authorJouni Malinen <j@w1.fi>
Sat, 6 Dec 2014 14:05:54 +0000 (16:05 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 6 Dec 2014 15:17:12 +0000 (17:17 +0200)
commit9725b78421f3fab1205714d08df073a112c4c304
treee74921a5449e2daee3987f1483396f1ce89ee898
parent350acc354d1ee9f7f485bb1a6e8d47b0a354f660
nl80211: Use nl80211_drv_msg() helper

Use the helper function to replace places that use nlmsg_alloc(),
nl80211_cmd(), and drv->ifindex.

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