Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146802969
D54547.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
567 B
Referenced Files
None
Subscribers
None
D54547.diff
View Options
diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c
--- a/sys/dev/wtap/if_wtap.c
+++ b/sys/dev/wtap/if_wtap.c
@@ -591,12 +591,8 @@
struct ieee80211vap *vap = ni->ni_vap;
struct wtap_vap *avp = WTAP_VAP(vap);
- if(ni == NULL){
- printf("m->m_pkthdr.rcvif is NULL we can't radiotap_tx\n");
- }else{
- if (ieee80211_radiotap_active_vap(vap))
- ieee80211_radiotap_tx(vap, m);
- }
+ if (ieee80211_radiotap_active_vap(vap))
+ ieee80211_radiotap_tx(vap, m);
if (m->m_flags & M_TXCB)
ieee80211_process_callback(ni, m, 0);
ieee80211_free_node(ni);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 6, 5:54 PM (10 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27544148
Default Alt Text
D54547.diff (567 B)
Attached To
Mode
D54547: wtap: Remove bogus NULL check in wtap_transmit
Attached
Detach File
Event Timeline
Log In to Comment