diff options
author | Christian Lamparter <chunkeey@web.de> | 2009-06-23 11:39:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:02:24 -0400 |
commit | d8c9210757605c5191d2d9f4e09be5e59ceac824 (patch) | |
tree | 45f0b0c76771c40e14ec49807247ea5ec27439f7 /drivers/net/wireless/p54/p54usb.c | |
parent | 0a5fb84f6b62bca8352f0aad045118e47340b096 (diff) |
p54: Modify p54 files for new organization
Modify the remaining p54 files to account for the new file organization.
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54/p54usb.c')
-rw-r--r-- | drivers/net/wireless/p54/p54usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c index 0e877a104a89..461d88f5ceb7 100644 --- a/drivers/net/wireless/p54/p54usb.c +++ b/drivers/net/wireless/p54/p54usb.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <net/mac80211.h> | 22 | #include <net/mac80211.h> |
23 | 23 | ||
24 | #include "p54.h" | 24 | #include "p54.h" |
25 | #include "lmac.h" | ||
25 | #include "p54usb.h" | 26 | #include "p54usb.h" |
26 | 27 | ||
27 | MODULE_AUTHOR("Michael Wu <flamingice@sourmilk.net>"); | 28 | MODULE_AUTHOR("Michael Wu <flamingice@sourmilk.net>"); |
@@ -961,7 +962,7 @@ err_free_fw: | |||
961 | release_firmware(priv->fw); | 962 | release_firmware(priv->fw); |
962 | 963 | ||
963 | err_free_dev: | 964 | err_free_dev: |
964 | ieee80211_free_hw(dev); | 965 | p54_free_common(dev); |
965 | usb_set_intfdata(intf, NULL); | 966 | usb_set_intfdata(intf, NULL); |
966 | usb_put_dev(udev); | 967 | usb_put_dev(udev); |
967 | return err; | 968 | return err; |
@@ -975,13 +976,12 @@ static void __devexit p54u_disconnect(struct usb_interface *intf) | |||
975 | if (!dev) | 976 | if (!dev) |
976 | return; | 977 | return; |
977 | 978 | ||
978 | ieee80211_unregister_hw(dev); | 979 | p54_unregister_common(dev); |
979 | 980 | ||
980 | priv = dev->priv; | 981 | priv = dev->priv; |
981 | usb_put_dev(interface_to_usbdev(intf)); | 982 | usb_put_dev(interface_to_usbdev(intf)); |
982 | release_firmware(priv->fw); | 983 | release_firmware(priv->fw); |
983 | p54_free_common(dev); | 984 | p54_free_common(dev); |
984 | ieee80211_free_hw(dev); | ||
985 | } | 985 | } |
986 | 986 | ||
987 | static int p54u_pre_reset(struct usb_interface *intf) | 987 | static int p54u_pre_reset(struct usb_interface *intf) |