aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-06-11 17:21:56 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-14 12:18:12 -0400
commit8b7b1e05b0454f232b8ae1e6ee134b7f0b38abfb (patch)
treee2b31bc4158a0e5ba20fe5ca81f7c9d4d51390d5 /include
parentfd7c8a40b2a63863f749e4d17f0d94d2e5ab1331 (diff)
mac80211: remove ieee80211_get_morefrag
Replaced by the new helper ieee80211_has_morefrags which is more consistent with the intent of the function. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee80211.h14
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 */
967static 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 */