Fix driver_test for hostapd
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 11 Sep 2009 13:45:34 +0000 (16:45 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 11 Sep 2009 13:45:34 +0000 (16:45 +0300)
commit6e4f4612706dfb5e28eb4cc5067b41ee03215fab
tree60d12e3472e080cf06c89fecefe6c79fd88a4c75
parentabad3ccb1e78faed242883d55d540fd4bb70c106
Fix driver_test for hostapd

Commit 0b55b934ee6243f2682524b0a733cc1468e20050 broke this by not
initializing drv->ap = 1 in hostapd case since the mode updating
code ended up unlinking the socket file. Setting drv->ap = 1
removes the mode change and as such, unlinking of the socket file.
src/drivers/driver_test.c