]> git.ipfire.org Git - thirdparty/hostap.git/commit
Android: Fix nl80211 build if BOARD_*_PRIVATE_LIB is unspecified
authorKevin Cernekee <cernekee@google.com>
Sat, 20 Jun 2015 00:22:30 +0000 (17:22 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 26 Jun 2015 19:46:49 +0000 (22:46 +0300)
commitded14ce95d5922fc7a2d25dfb3a7c4b667747edf
tree2473dcf4475e382e4c49448d8cf11a2abb7daf4e
parenta1407217b1ca7eb3c401c22f01e6ddac0e067435
Android: Fix nl80211 build if BOARD_*_PRIVATE_LIB is unspecified

wpa_supplicant has stub functions if the external p2p symbols are
unavailable, but the build still fails if the
wpa_driver_nl80211_driver_cmd symbol is missing.  Fix this by leaving the
function pointer NULL.  This is safe because wpa_drv_driver_cmd() performs
a NULL check.

Signed-off-by: Kevin Cernekee <cernekee@google.com>
src/drivers/driver_nl80211.c