/*
- * carl9170user - userspace testing utility for ar9170 devices
+ * carlu - userspace testing utility for ar9170 devices
*
* xmit - related functions
*
- * Copyright 2009, 2010 Christian Lamparter <chunkeey@googlemail.com>
+ * Copyright 2009-2011 Christian Lamparter <chunkeey@googlemail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
txp->s.len = cpu_to_le16(frame->len);
- queue = ar9170_qmap[frame->queue % ARRAY_SIZE(ar9170_qmap)];
+ queue = (frame->queue % __AR9170_NUM_TXQ);
SET_VAL(CARL9170_TX_SUPER_MISC_QUEUE, txp->s.misc, queue);