diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-04-30 22:30:01 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-04-30 22:30:01 +0000 |
commit | 90f2d4d25829782c76ed811c8c669e49c8e4ae2e (patch) | |
tree | 2198a9c9ee21014755dfcf0f83220d49d9533926 /sys/dev/usb/wlan/if_ural.c | |
parent | 680fc00a3e0b2498c18515235235803888960e24 (diff) | |
download | FreeBSD-src-90f2d4d25829782c76ed811c8c669e49c8e4ae2e.zip FreeBSD-src-90f2d4d25829782c76ed811c8c669e49c8e4ae2e.tar.gz |
We need to ref the bss node when sending the beacon since it goes through the
normal tx path and will be decremented on the mbuf free.
Diffstat (limited to 'sys/dev/usb/wlan/if_ural.c')
-rw-r--r-- | sys/dev/usb/wlan/if_ural.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/wlan/if_ural.c b/sys/dev/usb/wlan/if_ural.c index 919b66d..b865a41 100644 --- a/sys/dev/usb/wlan/if_ural.c +++ b/sys/dev/usb/wlan/if_ural.c @@ -760,7 +760,7 @@ ural_task(struct usb2_proc_msg *pm) "could not allocate beacon\n"); return; } - + ieee80211_ref_node(ni); if (ural_tx_bcn(sc, m, ni) != 0) { device_printf(sc->sc_dev, "could not send beacon\n"); |