aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorGertjan van Wingerde <gwingerde@gmail.com>2009-11-23 16:44:50 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-28 15:04:36 -0500
commit95d69aa046f75c750f18119810b6f58d397fb576 (patch)
tree277c8b3ebf1cdd9905c941b25a08084144c9af35 /drivers/net
parentee303e543e7d5f0d38197298adf0c4fb079094e9 (diff)
rt2x00: Fix typo (lengt --> length) in rt2x00queue.c
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Acked-by: Ivo van Doorn <ivdoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/rt2x00/rt2x00queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.c b/drivers/net/wireless/rt2x00/rt2x00queue.c
index eaedee8c05c8..32d4aeabfd4d 100644
--- a/drivers/net/wireless/rt2x00/rt2x00queue.c
+++ b/drivers/net/wireless/rt2x00/rt2x00queue.c
@@ -162,10 +162,10 @@ void rt2x00queue_align_frame(struct sk_buff *skb)
162 skb_trim(skb, frame_length); 162 skb_trim(skb, frame_length);
163} 163}
164 164
165void rt2x00queue_align_payload(struct sk_buff *skb, unsigned int header_lengt) 165void rt2x00queue_align_payload(struct sk_buff *skb, unsigned int header_length)
166{ 166{
167 unsigned int frame_length = skb->len; 167 unsigned int frame_length = skb->len;
168 unsigned int align = ALIGN_SIZE(skb, header_lengt); 168 unsigned int align = ALIGN_SIZE(skb, header_length);
169 169
170 if (!align) 170 if (!align)
171 return; 171 return;