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
30fcffaa
Commit
30fcffaa
authored
Jun 28, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o wl3501: update tx statistics
parent
f6c1ec79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
drivers/net/wireless/wl3501_cs.c
drivers/net/wireless/wl3501_cs.c
+6
-2
No files found.
drivers/net/wireless/wl3501_cs.c
View file @
30fcffaa
...
@@ -1518,10 +1518,14 @@ static int wl3501_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
...
@@ -1518,10 +1518,14 @@ static int wl3501_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
rc
=
wl3501_send_pkt
(
this
,
skb
->
data
,
skb
->
len
);
rc
=
wl3501_send_pkt
(
this
,
skb
->
data
,
skb
->
len
);
if
(
enabled
)
if
(
enabled
)
wl3501_unblock_interrupt
(
this
);
wl3501_unblock_interrupt
(
this
);
if
(
rc
)
if
(
rc
)
{
++
this
->
stats
.
tx_dropped
;
netif_stop_queue
(
dev
);
netif_stop_queue
(
dev
);
else
}
else
{
++
this
->
stats
.
tx_packets
;
this
->
stats
.
tx_bytes
+=
skb
->
len
;
kfree_skb
(
skb
);
kfree_skb
(
skb
);
}
spin_unlock_irqrestore
(
&
this
->
lock
,
flags
);
spin_unlock_irqrestore
(
&
this
->
lock
,
flags
);
return
rc
;
return
rc
;
}
}
...
...
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