Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
e2effd3d
Commit
e2effd3d
authored
Jul 14, 2004
by
Guennadi Liakhovetski
Committed by
Jeff Garzik
Jul 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[wireless airo] fix alignment problem (particularly on ARM)
Bugzilla #2905
parent
56b32d0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/net/wireless/airo.c
drivers/net/wireless/airo.c
+2
-1
No files found.
drivers/net/wireless/airo.c
View file @
e2effd3d
...
...
@@ -3163,11 +3163,12 @@ static irqreturn_t airo_interrupt ( int irq, void* dev_id, struct pt_regs *regs)
}
else
hdrlen
=
ETH_ALEN
*
2
;
skb
=
dev_alloc_skb
(
len
+
hdrlen
+
2
);
skb
=
dev_alloc_skb
(
len
+
hdrlen
+
2
+
2
);
if
(
!
skb
)
{
apriv
->
stats
.
rx_dropped
++
;
goto
badrx
;
}
skb_reserve
(
skb
,
2
);
/* This way the IP header is aligned */
buffer
=
(
u16
*
)
skb_put
(
skb
,
len
+
hdrlen
);
if
(
test_bit
(
FLAG_802_11
,
&
apriv
->
flags
))
{
buffer
[
0
]
=
fc
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment