summaryrefslogtreecommitdiffstats
path: root/net/802/p8022.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/802/p8022.c')
-rw-r--r--net/802/p8022.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/802/p8022.c b/net/802/p8022.c
index b24817c63ca8..2530f35241cd 100644
--- a/net/802/p8022.c
+++ b/net/802/p8022.c
@@ -56,7 +56,7 @@ struct datalink_proto *register_8022_client(unsigned char type,
void unregister_8022_client(struct datalink_proto *proto)
{
- llc_sap_close(proto->sap);
+ llc_sap_put(proto->sap);
kfree(proto);
}