summaryrefslogtreecommitdiff
path: root/device/send.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/send.go')
-rw-r--r--device/send.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/device/send.go b/device/send.go
index 9d63c4e..8def4ce 100644
--- a/device/send.go
+++ b/device/send.go
@@ -291,8 +291,6 @@ func (peer *Peer) StagePacket(elem *QueueOutboundElement) {
}
func (peer *Peer) SendStagedPackets() {
- peer.device.queue.encryption.wg.Add(1)
- defer peer.device.queue.encryption.wg.Done()
top:
if len(peer.queue.staged) == 0 || !peer.device.isUp.Get() {
return