orinoco: initialise independently of netdev
Initialise the orinoco driver before registerring with netdev, which will help when we get to cfg80211... Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
a2608362b2
commit
8e638267a8
9 changed files with 63 additions and 24 deletions
|
@ -153,6 +153,12 @@ static int orinoco_tmd_init_one(struct pci_dev *pdev,
|
|||
goto fail;
|
||||
}
|
||||
|
||||
err = orinoco_init(priv);
|
||||
if (err) {
|
||||
printk(KERN_ERR PFX "orinoco_init() failed\n");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
err = register_netdev(dev);
|
||||
if (err) {
|
||||
printk(KERN_ERR PFX "Cannot register network device\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue