>From fe5c5dd15b64672afb0987b55751ce1bc2331af6 Mon Sep 17 00:00:00 2001
Signed-off-by: Michal Suchanek <[email protected]>
---
drivers/net/wireless/bcmdhd/dhd_linux.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/wireless/bcmdhd/dhd_linux.c
b/drivers/net/wireless/bcmdhd/dhd_linux.c
index 7d53f40..57829e2 100644
--- a/drivers/net/wireless/bcmdhd/dhd_linux.c
+++ b/drivers/net/wireless/bcmdhd/dhd_linux.c
@@ -3386,7 +3386,9 @@ dhd_attach(osl_t *osh, struct dhd_bus *bus, uint
bus_hdrlen)
dhd->pend_ipaddr = 0;
register_inetaddr_notifier(&dhd_notifier);
#endif /* ARP_OFFLOAD_SUPPORT */
+#ifdef IPV6
register_inet6addr_notifier(&dhd_notifier_ipv6);
+#endif
#ifdef DHDTCPACK_SUPPRESS
dhd->pub.tcp_ack_info_cnt = 0;
@@ -4610,7 +4612,9 @@ void dhd_detach(dhd_pub_t *dhdp)
#ifdef ARP_OFFLOAD_SUPPORT
unregister_inetaddr_notifier(&dhd_notifier);
#endif /* ARP_OFFLOAD_SUPPORT */
+#ifdef IPV6
unregister_inet6addr_notifier(&dhd_notifier_ipv6);
+#endif
dhd->pub.up = 0;
if (!(dhd->dhd_state & DHD_ATTACH_STATE_DONE)) {
--
1.7.10.4
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.