diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-07-21 17:06:02 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-29 20:55:06 (GMT) |
commit | 9c0ab712c7e40b61063431cae74a3e763535a4e7 (patch) | |
tree | f83889e3108feba32fc73c07ba6b27b807de4c4d /sound/usb/usbmidi.c | |
parent | 74c0ee9b59bdaa81a666d5d58022f847390e4b0c (diff) | |
download | linux-fsl-qoriq-9c0ab712c7e40b61063431cae74a3e763535a4e7.tar.xz |
rt2x00: Clear queue entry flags during initialization
When the queues are being initialized the entry flags fields must be
reset to 0. When this does not happen some entries might still be
marked as "occupied" after an ifdown & ifup cycle which would trigger
errors when the entry is being accessed:
phy0 -> rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0.
Please file bug report to http://rt2x00.serialmonkey.com.
This also fixes the mac80211 warning:
------------[ cut here ]------------
WARNING: at net/mac80211/tx.c:1238 ieee80211_master_start_xmit+0x30a/0x350 [mac80211]()
which was triggered by the queue error.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'sound/usb/usbmidi.c')
0 files changed, 0 insertions, 0 deletions