diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2009-11-08 12:30:14 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-11 21:23:55 +0100 |
commit | 2015d1920c6ec637b16db1e8734d9070983db21f (patch) | |
tree | 1eb03722ae361e0af89c04d967acb526df8ae4ed /drivers/net/wireless/rt2x00/rt2800usb.c | |
parent | drivers/net/wireless: correct check on CCS_START_NETWORK (diff) | |
download | linux-2015d1920c6ec637b16db1e8734d9070983db21f.tar.xz linux-2015d1920c6ec637b16db1e8734d9070983db21f.zip |
rt2x00: Move interface type assignments to generic code.
Make sure all drivers can benefit of the assignment of the interface
type of an adapter, instead of keeping it for rt2800 only.
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c index ce2e893856c1..3168ad4437a4 100644 --- a/drivers/net/wireless/rt2x00/rt2800usb.c +++ b/drivers/net/wireless/rt2x00/rt2800usb.c @@ -1074,8 +1074,6 @@ static int rt2800usb_probe_hw(struct rt2x00_dev *rt2x00dev) { int retval; - rt2x00_set_chip_intf(rt2x00dev, RT2X00_CHIP_INTF_USB); - rt2x00dev->priv = (void *)&rt2800usb_rt2800_ops; /* |