Linux wireless drivers development
 help / color / mirror / Atom feed
* iwlwifi TX reply bug
@ 2008-10-10  9:11 Johannes Berg
  2008-10-10 12:45 ` Tomas Winkler
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2008-10-10  9:11 UTC (permalink / raw)
  To: Tomas Winkler; +Cc: linux-wireless

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

	sta_id = iwl_get_ra_sta_id(priv, hdr);
        if (txq->sched_retry && unlikely(sta_id == IWL_INVALID_STATION)) {
                IWL_ERROR("Station not known\n");
                return;
        }

        if (txq->sched_retry) {
[...]
        } else {
[...]
                if (index != -1) {
                    int freed = iwl_tx_queue_reclaim(priv, txq_id, index);
                    if (tid != MAX_TID_COUNT)
                        priv->stations[sta_id].tid[tid].tfds_in_queue -= freed;
[...]


priv->stations has 32 entries, IWL_INVALID_STATION is 255.

Oops.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-10 14:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10  9:11 iwlwifi TX reply bug Johannes Berg
2008-10-10 12:45 ` Tomas Winkler
2008-10-10 13:28   ` Johannes Berg
2008-10-10 14:38     ` Tomas Winkler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox