diff options
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r-- | include/linux/ieee80211.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 371237b0d8b9..2998e3b5f166 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h | |||
@@ -956,18 +956,4 @@ static inline u8 *ieee80211_get_DA(struct ieee80211_hdr *hdr) | |||
956 | return hdr->addr1; | 956 | return hdr->addr1; |
957 | } | 957 | } |
958 | 958 | ||
959 | /** | ||
960 | * ieee80211_get_morefrag - determine whether the MOREFRAGS bit is set | ||
961 | * | ||
962 | * This function determines whether the "more fragments" bit is set | ||
963 | * in the frame. | ||
964 | * | ||
965 | * @hdr: the frame | ||
966 | */ | ||
967 | static inline int ieee80211_get_morefrag(struct ieee80211_hdr *hdr) | ||
968 | { | ||
969 | __le16 fc = hdr->frame_control; | ||
970 | return !!(fc & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)); | ||
971 | } | ||
972 | |||
973 | #endif /* IEEE80211_H */ | 959 | #endif /* IEEE80211_H */ |