• Robert Schmidt's avatar
    One RFsimulator end, close open connections · 513f56e2
    Robert Schmidt authored
    Use the correct function in order to close open RFsim connections,
    instead of a simple close(). If this is not done correctly, it might
    happen that the softmodem closes, but an L1 thread might still read
    samples (bug in higher layers). Then, RFsim tries to read a socket
    (because it has an open connection), but the actual connection had been
    close()d. This commit fixes this behavior.
    513f56e2
simulator.c 42.4 KB