a possible bug in handle_ap_queue function in prism2_ap.c ?


From: Tiebing Zhang (tzhang_at_3eti.com)
Date: 2002-06-19 18:24:33 UTC



I am running APs with hostap driver and they are runing great. But recently I got many "AP queue full - dropping new message" errors. I checked the function handle_ap_queue in prism2_ap.c, and found out there is no "break;" in the following section of code. without a break, this actually will cause a memory leak, right?

 	for (i = 0; i < AP_QUEUE_LEN; i++) {
            if (local->ap->ap_queued_items[i] != NULL) {
                rxdesc = (struct hfa384x_rx_frame *)
                    local->ap->ap_queued_items[i];
                type = local->ap->ap_queued_type[i];
                local->ap->ap_queued_items[i] = NULL;


-->>>> break; <<<<<--------
} }

please correct me if I am wrong. Thank you.

--Tiebing



This archive was generated by hypermail 2.1.4.