nl80211: Get rid of NLA_PUT* macro use in capability checking
authorJouni Malinen <j@w1.fi>
Fri, 5 Dec 2014 17:24:38 +0000 (19:24 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 6 Dec 2014 10:18:38 +0000 (12:18 +0200)
commit9589a91e0e144ed3255ca671e6e81efe6dce02fa
tree9eaccffaca5642f64ef49b275e516cd87bba0829
parentf27f1644a8a26bfe8844e2d3fafb6fd579a19036
nl80211: Get rid of NLA_PUT* macro use in capability checking

This gets rid of NLA_PUT* macro use in checking nl80211 capabilities to
reduce the number of functions that depend on the hidden behavior of
jumping to the nla_put_failure label.

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