e00d94f Import a fixed version of driver_ndis.c from the vendor. The existing

Authored and Committed by Bill Paul 18 years ago
    Import a fixed version of driver_ndis.c from the vendor. The existing
    version has a bug where it fails to properly cancel the polling loop
    that periodically queries the BSSID (this is done to detect the
    association/disassociation state). The timeout is supposed to fire
    once a second, but the eloop_cancel_timeout() call uses a different
    'user data' value than what was passed to eloop_register_timeout(),
    so cancelling the timeouts fails. This results in an additional timeout
    being created each time an EAPOL packet is received, which can lead
    to dozens of unwanted timeouts firing every second instead of just one.