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
nexedi
linux
Commits
819cf15e
Commit
819cf15e
authored
Mar 11, 2010
by
Stewart Malik
Committed by
John W. Linville
Mar 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DRIVER: Libertas: Fixed coding style in rx.c
Signed-off-by:
John W. Linville
<
linville@tuxdriver.com
>
parent
200763bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
drivers/net/wireless/libertas/rx.c
drivers/net/wireless/libertas/rx.c
+25
-25
No files found.
drivers/net/wireless/libertas/rx.c
View file @
819cf15e
...
...
@@ -196,7 +196,7 @@ int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb)
* before the snap_type.
*/
p_ethhdr
=
(
struct
ethhdr
*
)
((
u8
*
)
&
p_rx_pkt
->
eth803_hdr
((
u8
*
)
&
p_rx_pkt
->
eth803_hdr
+
sizeof
(
p_rx_pkt
->
eth803_hdr
)
+
sizeof
(
p_rx_pkt
->
rfc1042_hdr
)
-
sizeof
(
p_rx_pkt
->
eth803_hdr
.
dest_addr
)
-
sizeof
(
p_rx_pkt
->
eth803_hdr
.
src_addr
)
...
...
@@ -213,7 +213,7 @@ int lbs_process_rxed_packet(struct lbs_private *priv, struct sk_buff *skb)
hdrchop
=
(
u8
*
)
p_ethhdr
-
(
u8
*
)
p_rx_pd
;
}
else
{
lbs_deb_hex
(
LBS_DEB_RX
,
"RX Data: LLC/SNAP"
,
(
u8
*
)
&
p_rx_pkt
->
rfc1042_hdr
,
(
u8
*
)
&
p_rx_pkt
->
rfc1042_hdr
,
sizeof
(
p_rx_pkt
->
rfc1042_hdr
));
/* Chop off the rxpd */
...
...
@@ -313,7 +313,7 @@ static int process_rxed_802_11_packet(struct lbs_private *priv,
p_rx_pkt
=
(
struct
rx80211packethdr
*
)
skb
->
data
;
prxpd
=
&
p_rx_pkt
->
rx_pd
;
/
/ lbs_deb_hex(LBS_DEB_RX, "RX Data: Before chop rxpd", skb->data, min(skb->len, 100));
/
* lbs_deb_hex(LBS_DEB_RX, "RX Data: Before chop rxpd", skb->data, min(skb->len, 100)); */
if
(
skb
->
len
<
(
ETH_HLEN
+
8
+
sizeof
(
struct
rxpd
)))
{
lbs_deb_rx
(
"rx err: frame received with bad length
\n
"
);
...
...
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