aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/wlantest_cli.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-11-21 09:43:09 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-21 09:43:09 (GMT)
commit8953e9681a023609cd5de27499ba822ee348c405 (patch)
treeec47453ff32ab276f66dac43cfc8a6efe1bf0aa4 /wlantest/wlantest_cli.c
parentec9aac94681d2cbbb3f039726b51062fb8a34e3d (diff)
downloadhostap-8953e9681a023609cd5de27499ba822ee348c405.zip
hostap-8953e9681a023609cd5de27499ba822ee348c405.tar.gz
hostap-8953e9681a023609cd5de27499ba822ee348c405.tar.bz2
edit: Move history save file specification to caller
Diffstat (limited to 'wlantest/wlantest_cli.c')
-rw-r--r--wlantest/wlantest_cli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wlantest/wlantest_cli.c b/wlantest/wlantest_cli.c
index df96bd3..c0f6f54 100644
--- a/wlantest/wlantest_cli.c
+++ b/wlantest/wlantest_cli.c
@@ -1090,12 +1090,12 @@ static void wlantest_cli_interactive(int s)
cli.s = s;
eloop_register_signal_terminate(wlantest_cli_eloop_terminate, &cli);
- edit_init(wlantest_cli_edit_cmd_cb, wlantest_cli_edit_eof_cb, &cli);
- edit_set_completion_cb(wlantest_cli_edit_completion_cb);
+ edit_init(wlantest_cli_edit_cmd_cb, wlantest_cli_edit_eof_cb,
+ wlantest_cli_edit_completion_cb, &cli, NULL);
eloop_run();
- edit_deinit();
+ edit_deinit(NULL, NULL);
eloop_destroy();
}