Add error handling for offloaded ACS with vendor command failures
authorPeng Xu <pxu@qca.qualcomm.com>
Tue, 1 Mar 2016 19:13:25 +0000 (11:13 -0800)
committerJouni Malinen <j@w1.fi>
Thu, 3 Mar 2016 10:19:43 +0000 (12:19 +0200)
commite1d00d47c79abeaf05ccdd9b1d43680e67a49d47
tree450a4ac9aad6d0db16053e233d88a4fb17fd9c03
parentbef5e9a8620128a23c32d4253099b1449d4864aa
Add error handling for offloaded ACS with vendor command failures

In case vendor ACS command returns invalid channel or hardware mode,
complete the interface setup with an error code instead of simply
return, so that hostapd can properly clean up the interface setup.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/drv_callbacks.c