Minor USB related sysutils/hal patch

From: Hans Petter Selasky <hselasky_at_freebsd.org>
Date: Mon, 18 May 2009 10:36:50 +0200
Hi,

I've made some minor patches for sysutils/hal

If the device is detached during config read, the config can be NULL. Check 
that.

Make sure that we close the device handles as we go, to save number of open 
files. When the backend is freed any leftover file handles will get freed, so 
it is not absolutely needed to close the device handle in every case.

--HPS

Received on Mon May 18 2009 - 06:34:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:47 UTC