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
Kirill Smelkov
linux
Commits
006da9eb
Commit
006da9eb
authored
Jan 28, 2013
by
John W. Linville
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-fixes
parents
cb73e2b9
ae023b27
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
17 deletions
+7
-17
drivers/net/wireless/iwlwifi/dvm/tx.c
drivers/net/wireless/iwlwifi/dvm/tx.c
+7
-17
No files found.
drivers/net/wireless/iwlwifi/dvm/tx.c
View file @
006da9eb
...
...
@@ -1153,6 +1153,13 @@ int iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb,
next_reclaimed
=
ssn
;
}
if
(
tid
!=
IWL_TID_NON_QOS
)
{
priv
->
tid_data
[
sta_id
][
tid
].
next_reclaimed
=
next_reclaimed
;
IWL_DEBUG_TX_REPLY
(
priv
,
"Next reclaimed packet:%d
\n
"
,
next_reclaimed
);
}
iwl_trans_reclaim
(
priv
->
trans
,
txq_id
,
ssn
,
&
skbs
);
iwlagn_check_ratid_empty
(
priv
,
sta_id
,
tid
);
...
...
@@ -1203,28 +1210,11 @@ int iwlagn_rx_reply_tx(struct iwl_priv *priv, struct iwl_rx_cmd_buffer *rxb,
if
(
!
is_agg
)
iwlagn_non_agg_tx_status
(
priv
,
ctx
,
hdr
->
addr1
);
/*
* W/A for FW bug - the seq_ctl isn't updated when the
* queues are flushed. Fetch it from the packet itself
*/
if
(
!
is_agg
&&
status
==
TX_STATUS_FAIL_FIFO_FLUSHED
)
{
next_reclaimed
=
le16_to_cpu
(
hdr
->
seq_ctrl
);
next_reclaimed
=
SEQ_TO_SN
(
next_reclaimed
+
0x10
);
}
is_offchannel_skb
=
(
info
->
flags
&
IEEE80211_TX_CTL_TX_OFFCHAN
);
freed
++
;
}
if
(
tid
!=
IWL_TID_NON_QOS
)
{
priv
->
tid_data
[
sta_id
][
tid
].
next_reclaimed
=
next_reclaimed
;
IWL_DEBUG_TX_REPLY
(
priv
,
"Next reclaimed packet:%d
\n
"
,
next_reclaimed
);
}
WARN_ON
(
!
is_agg
&&
freed
!=
1
);
/*
...
...
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