summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2013-01-14 09:48:25 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2013-01-14 09:48:25 +0000
commitc190a0d4676fb854fefa57a94800ec184ba9b032 (patch)
tree7ac536f35dce85024364526b67fc59710cbb8455 /sys/dev/usb
parentd7e09610d269066ae45fb408440c8ed8b4b606a9 (diff)
Call the correct callback on node disassociation.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_athn_usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_athn_usb.c b/sys/dev/usb/if_athn_usb.c
index c967c7ffe25..a30c7966e4f 100644
--- a/sys/dev/usb/if_athn_usb.c
+++ b/sys/dev/usb/if_athn_usb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_athn_usb.c,v 1.10 2012/11/12 22:38:26 mikeb Exp $ */
+/* $OpenBSD: if_athn_usb.c,v 1.11 2013/01/14 09:48:24 jsing Exp $ */
/*-
* Copyright (c) 2011 Damien Bergamini <damien.bergamini@free.fr>
@@ -1112,7 +1112,7 @@ athn_usb_node_leave(struct ieee80211com *ic, struct ieee80211_node *ni)
/* Do it in a process context. */
sta_index = ((struct athn_node *)ni)->sta_index;
- athn_usb_do_async(usc, athn_usb_newassoc_cb,
+ athn_usb_do_async(usc, athn_usb_node_leave_cb,
&sta_index, sizeof(sta_index));
}