Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
cfa9c3fb
Commit
cfa9c3fb
authored
11 years ago
by
John W. Linville
Browse files
Options
Download
Plain Diff
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next
parents
e4e19c03
23e76d1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/net/wireless/iwlwifi/pcie/tx.c
drivers/net/wireless/iwlwifi/pcie/tx.c
+3
-1
No files found.
drivers/net/wireless/iwlwifi/pcie/tx.c
View file @
cfa9c3fb
...
...
@@ -289,13 +289,15 @@ static void iwl_pcie_txq_inval_byte_cnt_tbl(struct iwl_trans *trans,
*/
void
iwl_pcie_txq_inc_wr_ptr
(
struct
iwl_trans
*
trans
,
struct
iwl_txq
*
txq
)
{
struct
iwl_trans_pcie
*
trans_pcie
=
IWL_TRANS_GET_PCIE_TRANS
(
trans
);
u32
reg
=
0
;
int
txq_id
=
txq
->
q
.
id
;
if
(
txq
->
need_update
==
0
)
return
;
if
(
trans
->
cfg
->
base_params
->
shadow_reg_enable
)
{
if
(
trans
->
cfg
->
base_params
->
shadow_reg_enable
||
txq_id
==
trans_pcie
->
cmd_queue
)
{
/* shadow register enabled */
iwl_write32
(
trans
,
HBUS_TARG_WRPTR
,
txq
->
q
.
write_ptr
|
(
txq_id
<<
8
));
...
...
This diff is collapsed.
Click to expand it.
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