nl80211: Add TEST_FAIL() to command generation and set_mode
authorJouni Malinen <j@w1.fi>
Sat, 4 Jun 2016 19:00:52 +0000 (22:00 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 Jun 2016 21:13:32 +0000 (00:13 +0300)
commita5a187b0f4aab0bf239b05121e8a9a8c6f506616
tree03a90e5f70e273c5528894ffb6e9611f0381e209
parentee854ff679aacecaa178ff7089d61084fcf2ceae
nl80211: Add TEST_FAIL() to command generation and set_mode

This makes it easier to test error paths for failing driver command
cases.

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