diff options
author | 2009-10-06 21:19:09 -0400 | |
---|---|---|
committer | 2009-10-07 16:39:52 -0400 | |
commit | 2568835cb44d6fe976e977d96aeca73c9fe1642c (patch) | |
tree | abf665608afe444d80427cbda689f9536b9984fc /net/core/net-sysfs.c | |
parent | ath9k: add helper to un-init the hw properly (diff) | |
download | linux-dev-2568835cb44d6fe976e977d96aeca73c9fe1642c.tar.xz linux-dev-2568835cb44d6fe976e977d96aeca73c9fe1642c.zip |
ath9k: add a helper to clean the core driver upon module unload
The core driver needs to be stopped and then as a last step the
hardware needs to be stopped and its structure free'd. We do this
by moving the core driver cleanup to a new helper ath_clean_core()
and have ath_cleanup() call it. Only as a last step does
ath_cleanup() now free the hw.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/core/net-sysfs.c')
0 files changed, 0 insertions, 0 deletions