b01c9a3223
if ni == NULL and the operating mode was not "ad hoc" or "ad hoc demo." That crashed the kernel. Now, if the operating mode is not "ad hoc (demo)," and ni == NULL, return NULL right away. Also, if ieee80211_dup_bss returns NULL, return NULL right away. This doesn't fix a bug, but it makes clear how this works. |
||
---|---|---|
.. | ||
ieee80211_channel.h | ||
ieee80211_compat.c | ||
ieee80211_compat.h | ||
ieee80211_crypto.c | ||
ieee80211_crypto.h | ||
ieee80211_input.c | ||
ieee80211_ioctl.c | ||
ieee80211_ioctl.h | ||
ieee80211_netbsd.h | ||
ieee80211_node.c | ||
ieee80211_node.h | ||
ieee80211_output.c | ||
ieee80211_proto.c | ||
ieee80211_proto.h | ||
ieee80211_radiotap.h | ||
ieee80211_rssadapt.c | ||
ieee80211_rssadapt.h | ||
ieee80211_sysctl.h | ||
ieee80211_var.h | ||
ieee80211.c | ||
ieee80211.h | ||
Makefile |