Search Linux Wireless

Re: iwlwifi TX reply bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 10, 2008 at 11:11 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
>        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.

Don't see a problem this is what iwl_find_station returns if it cannot find
Anyhow I've rewritten the whole code, the patch is on the way.
Tomas
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux