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
714e1a51
Commit
714e1a51
authored
Jan 04, 2006
by
Johannes Berg
Committed by
John W. Linville
Mar 22, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] softmac: fix some sparse warnings
Signed-off-by:
John W. Linville
<
linville@tuxdriver.com
>
parent
32821837
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
net/ieee80211/softmac/ieee80211softmac_auth.c
net/ieee80211/softmac/ieee80211softmac_auth.c
+1
-1
net/ieee80211/softmac/ieee80211softmac_io.c
net/ieee80211/softmac/ieee80211softmac_io.c
+7
-7
net/ieee80211/softmac/ieee80211softmac_priv.h
net/ieee80211/softmac/ieee80211softmac_priv.h
+6
-1
No files found.
net/ieee80211/softmac/ieee80211softmac_auth.c
View file @
714e1a51
...
...
@@ -243,7 +243,7 @@ ieee80211softmac_auth_resp(struct net_device *dev, struct ieee80211_auth *auth)
/*
* Handle deauthorization
*/
void
static
void
ieee80211softmac_deauth_from_net
(
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_network
*
net
)
{
...
...
net/ieee80211/softmac/ieee80211softmac_io.c
View file @
714e1a51
...
...
@@ -155,7 +155,7 @@ ieee80211softmac_hdr_3addr(struct ieee80211softmac_device *mac,
*****************************************************************************/
/* Creates an association request packet */
u32
static
u32
ieee80211softmac_assoc_req
(
struct
ieee80211_assoc_request
**
pkt
,
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_network
*
net
)
{
...
...
@@ -206,7 +206,7 @@ ieee80211softmac_assoc_req(struct ieee80211_assoc_request **pkt,
}
/* Create a reassociation request packet */
u32
static
u32
ieee80211softmac_reassoc_req
(
struct
ieee80211_reassoc_request
**
pkt
,
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_network
*
net
)
{
...
...
@@ -253,7 +253,7 @@ ieee80211softmac_reassoc_req(struct ieee80211_reassoc_request **pkt,
}
/* Create an authentication packet */
u32
static
u32
ieee80211softmac_auth
(
struct
ieee80211_auth
**
pkt
,
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_network
*
net
,
u16
transaction
,
u16
status
)
...
...
@@ -301,7 +301,7 @@ ieee80211softmac_auth(struct ieee80211_auth **pkt,
}
/* Create a disassocation or deauthentication packet */
u32
static
u32
ieee80211softmac_disassoc_deauth
(
struct
ieee80211_disassoc
**
pkt
,
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_network
*
net
,
u16
type
,
u16
reason
)
...
...
@@ -318,7 +318,7 @@ ieee80211softmac_disassoc_deauth(struct ieee80211_disassoc **pkt,
}
/* Create a probe request packet */
u32
static
u32
ieee80211softmac_probe_req
(
struct
ieee80211_probe_request
**
pkt
,
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_essid
*
essid
)
{
...
...
@@ -347,7 +347,7 @@ ieee80211softmac_probe_req(struct ieee80211_probe_request **pkt,
/* Create a probe response packet */
/* FIXME: Not complete */
u32
static
u32
ieee80211softmac_probe_resp
(
struct
ieee80211_probe_response
**
pkt
,
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_network
*
net
)
{
...
...
@@ -430,7 +430,7 @@ ieee80211softmac_send_mgt_frame(struct ieee80211softmac_device *mac,
/* Create an rts/cts frame */
u32
static
u32
ieee80211softmac_rts_cts
(
struct
ieee80211_hdr_2addr
**
pkt
,
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_network
*
net
,
u32
type
)
...
...
net/ieee80211/softmac/ieee80211softmac_priv.h
View file @
714e1a51
...
...
@@ -91,7 +91,12 @@ struct ieee80211softmac_network * ieee80211softmac_get_network_by_ssid_locked(
struct
ieee80211softmac_device
*
mac
,
u8
*
ssid
,
u8
ssid_len
);
struct
ieee80211softmac_network
*
ieee80211softmac_get_network_by_ssid
(
struct
ieee80211softmac_device
*
mac
,
u8
*
ssid
,
u8
ssid_len
);
struct
ieee80211softmac_network
*
ieee80211softmac_get_network_by_essid_locked
(
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_essid
*
essid
);
struct
ieee80211softmac_network
*
ieee80211softmac_get_network_by_essid
(
struct
ieee80211softmac_device
*
mac
,
struct
ieee80211softmac_essid
*
essid
);
/* Rates related */
u8
ieee80211softmac_lower_rate_delta
(
struct
ieee80211softmac_device
*
mac
,
u8
rate
,
int
delta
);
...
...
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