diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-07-28 11:20:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-07-28 11:20:36 +0000 |
commit | 7b7cee05d26d1fe61c8803a454a1d52b502edd4a (patch) | |
tree | b11a68a9f676ca771e982624e289203641a41231 /src/transport/gnunet-transport-wlan-helper.h | |
parent | 5b74643793db765f308eb522856954ab81ef8ead (diff) | |
download | gnunet-7b7cee05d26d1fe61c8803a454a1d52b502edd4a.tar.gz gnunet-7b7cee05d26d1fe61c8803a454a1d52b502edd4a.zip |
detect pcap
Diffstat (limited to 'src/transport/gnunet-transport-wlan-helper.h')
-rw-r--r-- | src/transport/gnunet-transport-wlan-helper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/gnunet-transport-wlan-helper.h b/src/transport/gnunet-transport-wlan-helper.h index f8fa145f2..2988d76e7 100644 --- a/src/transport/gnunet-transport-wlan-helper.h +++ b/src/transport/gnunet-transport-wlan-helper.h | |||
@@ -314,6 +314,7 @@ enum ieee80211_radiotap_type { | |||
314 | (((x) == 14) ? 2484 : ((x) * 5) + 2407) : \ | 314 | (((x) == 14) ? 2484 : ((x) * 5) + 2407) : \ |
315 | ((x) + 1000) * 5) | 315 | ((x) + 1000) * 5) |
316 | 316 | ||
317 | #if BROKEN | ||
317 | /* helpers */ | 318 | /* helpers */ |
318 | static inline int ieee80211_get_radiotap_len(unsigned char *data) | 319 | static inline int ieee80211_get_radiotap_len(unsigned char *data) |
319 | { | 320 | { |
@@ -322,7 +323,7 @@ static inline int ieee80211_get_radiotap_len(unsigned char *data) | |||
322 | 323 | ||
323 | return get_unaligned_le16(&hdr->it_len); | 324 | return get_unaligned_le16(&hdr->it_len); |
324 | } | 325 | } |
325 | 326 | #endif | |
326 | #endif /* IEEE80211_RADIOTAP_H */ | 327 | #endif /* IEEE80211_RADIOTAP_H */ |
327 | 328 | ||
328 | 329 | ||