forked from luck/tmp_suning_uos_patched
rt2x00: fix oops in rt2x00lib_txdone with rt61pci
Fix a typo introduced in "rt2x00: Add helper function for reporting tx status" that results in an oops in rt2x00lib_txdone. Reported-by: Pavel Roskin <proski@gnu.org> Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
6646505de0
commit
65b7fc9747
|
@ -2117,7 +2117,7 @@ static void rt61pci_txdone(struct rt2x00_dev *rt2x00dev)
|
|||
"TX status report missed for entry %d\n",
|
||||
entry_done->entry_idx);
|
||||
|
||||
rt2x00lib_txdone_noinfo(entry, TXDONE_UNKNOWN);
|
||||
rt2x00lib_txdone_noinfo(entry_done, TXDONE_UNKNOWN);
|
||||
entry_done = rt2x00queue_get_entry(queue, Q_INDEX_DONE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user