diff options
Diffstat (limited to 'src/ipaccess/abisip-find.c')
-rw-r--r-- | src/ipaccess/abisip-find.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipaccess/abisip-find.c b/src/ipaccess/abisip-find.c index a414d1615..4bba8a315 100644 --- a/src/ipaccess/abisip-find.c +++ b/src/ipaccess/abisip-find.c @@ -406,7 +406,7 @@ static int bfd_cb(struct osmo_fd *bfd, unsigned int flags) if (flags & OSMO_FD_READ) return read_response(bfd->fd); if (flags & OSMO_FD_WRITE) { - bfd->when &= ~OSMO_FD_WRITE; + osmo_fd_write_disable(bfd); return bcast_find(bfd->fd); } return 0; @@ -418,7 +418,7 @@ static void timer_cb(void *_data) { struct osmo_fd *bfd = _data; - bfd->when |= OSMO_FD_WRITE; + osmo_fd_write_enable(bfd); base_stations_bump(false); |