diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-02-03 10:07:43 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-02-03 10:07:43 +0000 |
commit | adb938921e527a609b1972aa726b47ea6ca0b678 (patch) | |
tree | 318588ebc25de88382d3ff79feab42e24003fc7d /sys/net80211/ieee80211_ioctl.h | |
parent | 45cc6dda971b609844e44a7644cf6d9b3f86d078 (diff) | |
download | FreeBSD-src-adb938921e527a609b1972aa726b47ea6ca0b678.zip FreeBSD-src-adb938921e527a609b1972aa726b47ea6ca0b678.tar.gz |
When taking the AMPDU reorder fastpath, need_tap wasn't being
initialized. Initialize on declaration to avoid this.
Found with: clang static analyzer
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.h')
-rw-r--r-- | sys/net80211/ieee80211_ioctl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h index 7215a5e..c943721 100644 --- a/sys/net80211/ieee80211_ioctl.h +++ b/sys/net80211/ieee80211_ioctl.h @@ -334,12 +334,12 @@ enum { }; struct ieee80211req_mesh_route { - uint8_t imr_flags; -#define IEEE80211_MESHRT_FLAGS_VALID 0x01 -#define IEEE80211_MESHRT_FLAGS_PROXY 0x02 uint8_t imr_dest[IEEE80211_ADDR_LEN]; uint8_t imr_nexthop[IEEE80211_ADDR_LEN]; uint16_t imr_nhops; + uint8_t imr_flags; +#define IEEE80211_MESHRT_FLAGS_VALID 0x01 +#define IEEE80211_MESHRT_FLAGS_PROXY 0x02 uint8_t imr_pad; uint32_t imr_metric; uint32_t imr_lifetime; |