Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43243
b: refs/heads/master
c: 0ae8513
h: refs/heads/master
i:
  43241: c76f029
  43239: 41b5d29
v: v3
  • Loading branch information
Jeff Garzik committed Dec 7, 2006
1 parent ea980c1 commit 294f704
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 0bfdcc88df969af8de087d0fdddf8c0efa76b4b0
refs/heads/master: 0ae851352a87db3f829511816a2da227860bf585
10 changes: 5 additions & 5 deletions trunk/drivers/net/wireless/zd1211rw/zd_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ static void housekeeping_init(struct zd_mac *mac);
static void housekeeping_enable(struct zd_mac *mac);
static void housekeeping_disable(struct zd_mac *mac);

static void set_multicast_hash_handler(void *mac_ptr);
static void set_multicast_hash_handler(struct work_struct *work);

int zd_mac_init(struct zd_mac *mac,
struct net_device *netdev,
Expand All @@ -57,8 +57,7 @@ int zd_mac_init(struct zd_mac *mac,
softmac_init(ieee80211_priv(netdev));
zd_chip_init(&mac->chip, netdev, intf);
housekeeping_init(mac);
INIT_WORK(&mac->set_multicast_hash_work, set_multicast_hash_handler,
mac);
INIT_WORK(&mac->set_multicast_hash_work, set_multicast_hash_handler);
return 0;
}

Expand Down Expand Up @@ -261,9 +260,10 @@ int zd_mac_set_mac_address(struct net_device *netdev, void *p)
return 0;
}

static void set_multicast_hash_handler(void *mac_ptr)
static void set_multicast_hash_handler(struct work_struct *work)
{
struct zd_mac *mac = mac_ptr;
struct zd_mac *mac = container_of(work, struct zd_mac,
set_multicast_hash_work);
struct zd_mc_hash hash;

spin_lock_irq(&mac->lock);
Expand Down

0 comments on commit 294f704

Please sign in to comment.