diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-03-21 19:35:35 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-03-21 19:35:35 +0000 |
commit | 4128274b3b8c47a58f6895e1dbe5b1949887b9e1 (patch) | |
tree | 6249833d50bf99ca832d129ff3868272e53a0092 /network/main.c | |
parent | 63ce134711eab575a35d2b4a5cbc62f1446d6a73 (diff) |
Add functions for creating and removing HAL devices
Diffstat (limited to 'network/main.c')
-rw-r--r-- | network/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/network/main.c b/network/main.c index d6c3ac0d..16a173c5 100644 --- a/network/main.c +++ b/network/main.c @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) hal_init(NULL); - hal_add_device(NULL); + hal_create_device(NULL); if (network_init() == -1) goto fail; @@ -81,6 +81,8 @@ int main(int argc, char *argv[]) network_exit(); + hal_remove_device(NULL); + hal_cleanup(); fail: |