summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarvey Harrison2008-06-11 23:21:56 +0200
committerJohn W. Linville2008-06-14 18:18:12 +0200
commit8b7b1e05b0454f232b8ae1e6ee134b7f0b38abfb (patch)
treee2b31bc4158a0e5ba20fe5ca81f7c9d4d51390d5 /include
parentmac80211: add helpers for frame control testing (diff)
downloadkernel-qcow2-linux-8b7b1e05b0454f232b8ae1e6ee134b7f0b38abfb.tar.gz
kernel-qcow2-linux-8b7b1e05b0454f232b8ae1e6ee134b7f0b38abfb.tar.xz
kernel-qcow2-linux-8b7b1e05b0454f232b8ae1e6ee134b7f0b38abfb.zip
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)
return hdr->addr1;
}
-/**
- * ieee80211_get_morefrag - determine whether the MOREFRAGS bit is set
- *
- * This function determines whether the "more fragments" bit is set
- * in the frame.
- *
- * @hdr: the frame
- */
-static inline int ieee80211_get_morefrag(struct ieee80211_hdr *hdr)
-{
- __le16 fc = hdr->frame_control;
- return !!(fc & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS));
-}
-
#endif /* IEEE80211_H */