diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-04-07 18:04:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-04-10 14:10:33 -0400 |
commit | c60c99298c50b698b0bbbe0e0146c965c322b8c1 (patch) | |
tree | 868d5991faa4dbb756778146a2d4b73c9874ae3a /drivers/net/wireless/ath/ath9k/recv.c | |
parent | a043dfb90e0472049baabc4cc9168e1fe2bd7a90 (diff) |
ath9k_common: remove ath9k_cmn_padpos
It is equivalent to ieee80211_hdrlen
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index e656e4891568..d7c06af1778d 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -985,7 +985,7 @@ static void ath9k_rx_skb_postprocess(struct ath_common *common, | |||
985 | hdr = (struct ieee80211_hdr *) skb->data; | 985 | hdr = (struct ieee80211_hdr *) skb->data; |
986 | hdrlen = ieee80211_get_hdrlen_from_skb(skb); | 986 | hdrlen = ieee80211_get_hdrlen_from_skb(skb); |
987 | fc = hdr->frame_control; | 987 | fc = hdr->frame_control; |
988 | padpos = ath9k_cmn_padpos(hdr->frame_control); | 988 | padpos = ieee80211_hdrlen(fc); |
989 | 989 | ||
990 | /* The MAC header is padded to have 32-bit boundary if the | 990 | /* The MAC header is padded to have 32-bit boundary if the |
991 | * packet payload is non-zero. The general calculation for | 991 | * packet payload is non-zero. The general calculation for |