|
@@ -489,7 +489,8 @@ int rt2x00queue_write_tx_frame(struct data_queue *queue, struct sk_buff *skb,
|
|
|
if (unlikely(rt2x00queue_full(queue)))
|
|
|
return -ENOBUFS;
|
|
|
|
|
|
- if (test_and_set_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags)) {
|
|
|
+ if (unlikely(test_and_set_bit(ENTRY_OWNER_DEVICE_DATA,
|
|
|
+ &entry->flags))) {
|
|
|
ERROR(queue->rt2x00dev,
|
|
|
"Arrived at non-free entry in the non-full queue %d.\n"
|
|
|
"Please file bug report to %s.\n",
|