diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-06-16 20:43:55 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-06-16 22:48:09 +0200 |
commit | b01b4babbf204443b5a846a7494546501614cefc (patch) | |
tree | 7488129b4e41cde0b614d8f999064fc33fd211ca /drivers/ieee1394 | |
parent | d645f4dad056a98089df904294f66b96d04e91b6 (diff) |
firewire: net: fix card driver reloading
Fix some problems from "firewire: net: allow for unordered unit
discovery":
- fwnet_remove was missing a list_del, causing fwnet_probe to crash if
called after fwnet_remove, e.g. if firewire-ohci was unloaded and
reloaded.
- fwnet_probe should set its new_netdev flag only if it actually
allocated a net_device.
- Use dev_set_drvdata and dev_get_drvdata instead of deprecated direct
access to device.driver_data.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394')
0 files changed, 0 insertions, 0 deletions