aboutsummaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_ds_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ax25/ax25_ds_timer.c')
-rw-r--r--net/ax25/ax25_ds_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ax25/ax25_ds_timer.c b/net/ax25/ax25_ds_timer.c
index 4f44185955c7..c4e3b025d21c 100644
--- a/net/ax25/ax25_ds_timer.c
+++ b/net/ax25/ax25_ds_timer.c
@@ -130,7 +130,7 @@ void ax25_ds_heartbeat_expiry(ax25_cb *ax25)
130 */ 130 */
131 if (sk != NULL) { 131 if (sk != NULL) {
132 if (atomic_read(&sk->sk_rmem_alloc) < 132 if (atomic_read(&sk->sk_rmem_alloc) <
133 (sk->sk_rcvbuf / 2) && 133 (sk->sk_rcvbuf >> 1) &&
134 (ax25->condition & AX25_COND_OWN_RX_BUSY)) { 134 (ax25->condition & AX25_COND_OWN_RX_BUSY)) {
135 ax25->condition &= ~AX25_COND_OWN_RX_BUSY; 135 ax25->condition &= ~AX25_COND_OWN_RX_BUSY;
136 ax25->condition &= ~AX25_COND_ACK_PENDING; 136 ax25->condition &= ~AX25_COND_ACK_PENDING;