From f3d5e0453751c9d4bcaa62259637901d8b59285a Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 20 May 2018 23:57:55 +0000 Subject: ntux_cmd_stat(): initial implementation and integration. --- src/driver/ntux_amain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/driver') diff --git a/src/driver/ntux_amain.c b/src/driver/ntux_amain.c index 11741c9..7749f63 100644 --- a/src/driver/ntux_amain.c +++ b/src/driver/ntux_amain.c @@ -51,8 +51,8 @@ static void ntux_perform_unit_actions( const struct ntux_driver_ctx * dctx, const char * unit) { - (void)dctx; - (void)unit; + if (dctx->cctx->cmd == NTUX_CMD_STAT) + ntux_cmd_stat(dctx,unit); } static int ntux_exit(struct ntux_driver_ctx * dctx, int ret) -- cgit v1.2.3