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
b5f52d99
Commit
b5f52d99
authored
Apr 03, 2002
by
Jean Tourrilhes
Committed by
Linus Torvalds
Apr 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IrDA: Correct location of dev tx stats update
parent
7f8b59ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/net/irda/irtty.c
drivers/net/irda/irtty.c
+2
-2
No files found.
drivers/net/irda/irtty.c
View file @
b5f52d99
...
@@ -713,8 +713,6 @@ static void irtty_write_wakeup(struct tty_struct *tty)
...
@@ -713,8 +713,6 @@ static void irtty_write_wakeup(struct tty_struct *tty)
self
->
tx_buff
.
data
+=
actual
;
self
->
tx_buff
.
data
+=
actual
;
self
->
tx_buff
.
len
-=
actual
;
self
->
tx_buff
.
len
-=
actual
;
self
->
stats
.
tx_packets
++
;
}
else
{
}
else
{
/*
/*
* Now serial buffer is almost free & we can start
* Now serial buffer is almost free & we can start
...
@@ -722,6 +720,8 @@ static void irtty_write_wakeup(struct tty_struct *tty)
...
@@ -722,6 +720,8 @@ static void irtty_write_wakeup(struct tty_struct *tty)
*/
*/
IRDA_DEBUG
(
5
,
__FUNCTION__
"(), finished with frame!
\n
"
);
IRDA_DEBUG
(
5
,
__FUNCTION__
"(), finished with frame!
\n
"
);
self
->
stats
.
tx_packets
++
;
tty
->
flags
&=
~
(
1
<<
TTY_DO_WRITE_WAKEUP
);
tty
->
flags
&=
~
(
1
<<
TTY_DO_WRITE_WAKEUP
);
if
(
self
->
new_speed
)
{
if
(
self
->
new_speed
)
{
...
...
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