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
26293133
Commit
26293133
authored
Jul 24, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iwlwifi: Fix build with CONFIG_PM disabled.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
559fafb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.c
+6
-0
No files found.
drivers/net/wireless/iwlwifi/iwl-agn.c
View file @
26293133
...
@@ -2279,6 +2279,7 @@ static void iwlagn_mac_stop(struct ieee80211_hw *hw)
...
@@ -2279,6 +2279,7 @@ static void iwlagn_mac_stop(struct ieee80211_hw *hw)
IWL_DEBUG_MAC80211
(
priv
,
"leave
\n
"
);
IWL_DEBUG_MAC80211
(
priv
,
"leave
\n
"
);
}
}
#ifdef CONFIG_PM
static
int
iwlagn_send_patterns
(
struct
iwl_priv
*
priv
,
static
int
iwlagn_send_patterns
(
struct
iwl_priv
*
priv
,
struct
cfg80211_wowlan
*
wowlan
)
struct
cfg80211_wowlan
*
wowlan
)
{
{
...
@@ -2320,6 +2321,7 @@ static int iwlagn_send_patterns(struct iwl_priv *priv,
...
@@ -2320,6 +2321,7 @@ static int iwlagn_send_patterns(struct iwl_priv *priv,
kfree
(
pattern_cmd
);
kfree
(
pattern_cmd
);
return
err
;
return
err
;
}
}
#endif
static
void
iwlagn_mac_set_rekey_data
(
struct
ieee80211_hw
*
hw
,
static
void
iwlagn_mac_set_rekey_data
(
struct
ieee80211_hw
*
hw
,
struct
ieee80211_vif
*
vif
,
struct
ieee80211_vif
*
vif
,
...
@@ -2352,6 +2354,7 @@ struct wowlan_key_data {
...
@@ -2352,6 +2354,7 @@ struct wowlan_key_data {
bool
error
,
use_rsc_tsc
,
use_tkip
;
bool
error
,
use_rsc_tsc
,
use_tkip
;
};
};
#ifdef CONFIG_PM
static
void
iwlagn_convert_p1k
(
u16
*
p1k
,
__le16
*
out
)
static
void
iwlagn_convert_p1k
(
u16
*
p1k
,
__le16
*
out
)
{
{
int
i
;
int
i
;
...
@@ -2739,6 +2742,7 @@ static int iwlagn_mac_resume(struct ieee80211_hw *hw)
...
@@ -2739,6 +2742,7 @@ static int iwlagn_mac_resume(struct ieee80211_hw *hw)
return
1
;
return
1
;
}
}
#endif
static
void
iwlagn_mac_tx
(
struct
ieee80211_hw
*
hw
,
struct
sk_buff
*
skb
)
static
void
iwlagn_mac_tx
(
struct
ieee80211_hw
*
hw
,
struct
sk_buff
*
skb
)
{
{
...
@@ -3461,8 +3465,10 @@ struct ieee80211_ops iwlagn_hw_ops = {
...
@@ -3461,8 +3465,10 @@ struct ieee80211_ops iwlagn_hw_ops = {
.
tx
=
iwlagn_mac_tx
,
.
tx
=
iwlagn_mac_tx
,
.
start
=
iwlagn_mac_start
,
.
start
=
iwlagn_mac_start
,
.
stop
=
iwlagn_mac_stop
,
.
stop
=
iwlagn_mac_stop
,
#ifdef CONFIG_PM
.
suspend
=
iwlagn_mac_suspend
,
.
suspend
=
iwlagn_mac_suspend
,
.
resume
=
iwlagn_mac_resume
,
.
resume
=
iwlagn_mac_resume
,
#endif
.
add_interface
=
iwl_mac_add_interface
,
.
add_interface
=
iwl_mac_add_interface
,
.
remove_interface
=
iwl_mac_remove_interface
,
.
remove_interface
=
iwl_mac_remove_interface
,
.
change_interface
=
iwl_mac_change_interface
,
.
change_interface
=
iwl_mac_change_interface
,
...
...
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