Revision 409
reduced colonet server cpu usage to near zero
wireless.c | ||
---|---|---|
403 | 403 |
} |
404 | 404 |
} |
405 | 405 |
|
406 |
if (wl_packet_groups[group] != NULL && |
|
407 |
wl_packet_groups[group]->handle_response != NULL) |
|
408 |
wl_packet_groups[group]->handle_response( |
|
409 |
(int)wl_buf[1] & 0x0F, success); |
|
406 |
if (wl_packet_groups[group] != NULL && wl_packet_groups[group]->handle_response != NULL) |
|
407 |
wl_packet_groups[group]->handle_response((int)wl_buf[1] & 0x0F, success); |
|
410 | 408 |
return; |
411 | 409 |
} |
412 | 410 |
|
... | ... | |
431 | 429 |
int type = wl_buf[6]; |
432 | 430 |
int packetLen = len - 7; |
433 | 431 |
|
434 |
if (wl_packet_groups[group] != NULL |
|
435 |
&& wl_packet_groups[group]->handle_receive != NULL) |
|
436 |
wl_packet_groups[group]->handle_receive(type, source, |
|
437 |
wl_buf + 7, packetLen); |
|
432 |
if (wl_packet_groups[group] != NULL && wl_packet_groups[group]->handle_receive != NULL) |
|
433 |
wl_packet_groups[group]->handle_receive(type, source, wl_buf + 7, packetLen); |
|
438 | 434 |
return; |
439 | 435 |
} |
440 | 436 |
|
Also available in: Unified diff