mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
add preprocessor directives for missing one
This commit is contained in:
@@ -106,7 +106,11 @@ void tcp_ack_deinit(struct rwnx_hw *priv)
|
||||
drop_msg = NULL;
|
||||
|
||||
write_seqlock_bh(&ack_m->ack_info[i].seqlock);
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 0)
|
||||
timer_delete(&ack_m->ack_info[i].timer);
|
||||
#else
|
||||
del_timer(&ack_m->ack_info[i].timer);
|
||||
#endif
|
||||
drop_msg = ack_m->ack_info[i].msgbuf;
|
||||
ack_m->ack_info[i].msgbuf = NULL;
|
||||
write_sequnlock_bh(&ack_m->ack_info[i].seqlock);
|
||||
|
||||
Reference in New Issue
Block a user