commit | 84c164a34ffe67908a932a2d641ec1a80c2d5435 | [log] [tgz] |
---|---|---|
author | John W. Linville <linville@tuxdriver.com> | Fri Aug 06 15:31:45 2010 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Aug 16 14:39:48 2010 -0400 |
tree | 5fe5cac69497ef54d765e6fa2faaabef431ae8ee | |
parent | 13eb670c104e15e06d38f3a210cfaf467a9c66de [diff] |
b43: move hwrng registration driver to wireless core initialization ...and unregistration to core shutdown. Previously, the driver remained registered even when the hardware was shutdown. That causes the driver to return -ENODEV if the b43 device is IFF_DOWN. This change causes the driver to disappear in that case, allowing /dev/hwrng to still function if another hwrng device is available. Signed-off-by: John W. Linville <linville@tuxdriver.com>