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
e11fd513
Commit
e11fd513
authored
Jul 13, 2011
by
Larry Finger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
staging: rtl8192e: Remove dead code associated with NOT_YET
Signed-off-by:
Larry Finger
<
Larry.Finger@lwfinger.net
>
parent
6e2c538f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
46 deletions
+0
-46
drivers/staging/rtl8192e/rtllib_rx.c
drivers/staging/rtl8192e/rtllib_rx.c
+0
-46
No files found.
drivers/staging/rtl8192e/rtllib_rx.c
View file @
e11fd513
...
...
@@ -497,52 +497,6 @@ rtllib_rx_frame_mgmt(struct rtllib_device *ieee, struct sk_buff *skb,
dev_kfree_skb_any
(
skb
);
return
0
;
#ifdef NOT_YET
if
(
ieee
->
iw_mode
==
IW_MODE_MASTER
)
{
printk
(
KERN_DEBUG
"%s: Master mode not yet suppported.
\n
"
,
ieee
->
dev
->
name
);
return
0
;
/*
hostap_update_sta_ps(ieee, (struct hostap_rtllib_hdr_4addr *)
skb->data);*/
}
if
(
ieee
->
hostapd
&&
type
==
RTLLIB_TYPE_MGMT
)
{
if
(
stype
==
WLAN_FC_STYPE_BEACON
&&
ieee
->
iw_mode
==
IW_MODE_MASTER
)
{
struct
sk_buff
*
skb2
;
/* Process beacon frames also in kernel driver to
* update STA(AP) table statistics */
skb2
=
skb_clone
(
skb
,
GFP_ATOMIC
);
if
(
skb2
)
hostap_rx
(
skb2
->
dev
,
skb2
,
rx_stats
);
}
/* send management frames to the user space daemon for
* processing */
ieee
->
apdevstats
.
rx_packets
++
;
ieee
->
apdevstats
.
rx_bytes
+=
skb
->
len
;
prism2_rx_80211
(
ieee
->
apdev
,
skb
,
rx_stats
,
PRISM2_RX_MGMT
);
return
0
;
}
if
(
ieee
->
iw_mode
==
IW_MODE_MASTER
)
{
if
(
type
!=
WLAN_FC_TYPE_MGMT
&&
type
!=
WLAN_FC_TYPE_CTRL
)
{
printk
(
KERN_DEBUG
"%s: unknown management frame "
"(type=0x%02x, stype=0x%02x) dropped
\n
"
,
skb
->
dev
->
name
,
type
,
stype
);
return
-
1
;
}
hostap_rx
(
skb
->
dev
,
skb
,
rx_stats
);
return
0
;
}
printk
(
KERN_DEBUG
"%s: hostap_rx_frame_mgmt: management frame "
"received in non-Host AP mode
\n
"
,
skb
->
dev
->
name
);
return
-
1
;
#endif
}
#ifndef CONFIG_CFG_80211
...
...
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