Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0ae85135
Commit
0ae85135
authored
Dec 07, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[wireless] zd1211rw: workqueue-related build fixes
Signed-off-by:
Jeff Garzik
<
jeff@garzik.org
>
parent
0bfdcc88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/net/wireless/zd1211rw/zd_mac.c
drivers/net/wireless/zd1211rw/zd_mac.c
+5
-5
No files found.
drivers/net/wireless/zd1211rw/zd_mac.c
View file @
0ae85135
...
...
@@ -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
,
...
...
@@ -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
;
}
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment