Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6800
b: refs/heads/master
c: fbff868
h: refs/heads/master
v: v3
  • Loading branch information
Jouni Malinen authored and Jeff Garzik committed Sep 1, 2005
1 parent c2cd2af commit bcc358a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a8eef8a22232e64be76410100c52038b21bda7ed
refs/heads/master: fbff868db3a4cc6a89d51da9a6d49b26c29d04fb
14 changes: 7 additions & 7 deletions trunk/drivers/net/wireless/hostap/hostap_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,13 @@ static int prism2_config(dev_link_t *link)
goto failed;
link->priv = dev;

iface = netdev_priv(dev);
local = iface->local;
local->hw_priv = hw_priv;
hw_priv->link = link;
strcpy(hw_priv->node.dev_name, dev->name);
link->dev = &hw_priv->node;

/*
* Allocate an interrupt line. Note that this does not assign a
* handler to the interrupt, unless the 'Handler' member of the
Expand Down Expand Up @@ -817,13 +824,6 @@ static int prism2_config(dev_link_t *link)
link->state |= DEV_CONFIG;
link->state &= ~DEV_CONFIG_PENDING;

iface = netdev_priv(dev);
local = iface->local;
local->hw_priv = hw_priv;
hw_priv->link = link;
strcpy(hw_priv->node.dev_name, dev->name);
link->dev = &hw_priv->node;

local->shutdown = 0;

sandisk_enable_wireless(dev);
Expand Down

0 comments on commit bcc358a

Please sign in to comment.