]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix handling of devices w/o radiotap support:
authorsam <sam@FreeBSD.org>
Mon, 25 May 2009 16:38:47 +0000 (16:38 +0000)
committersam <sam@FreeBSD.org>
Mon, 25 May 2009 16:38:47 +0000 (16:38 +0000)
commitc16474afa051485a6b6bb1b5228e59f1e8b30927
tree2e0eaf018173b7a9aac32f2e0adcc48f0bf3bc7c
parent1dcc1a56a6b94b2719df947054688a1478e503cb
Fix handling of devices w/o radiotap support:
o do not attach DLT_IEEE802_11_RADIO unless both tx and rx headers are
  present; this is assumed in the capture code paths
o verify the above with asserts in ieee80211_radiotap_{rx,tx}
o add missing checks for active taps before calling ieee80211_radiotap_rx
sys/net80211/ieee80211_adhoc.c
sys/net80211/ieee80211_hostap.c
sys/net80211/ieee80211_monitor.c
sys/net80211/ieee80211_radiotap.c
sys/net80211/ieee80211_sta.c
sys/net80211/ieee80211_wds.c