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
3d0beb92
Commit
3d0beb92
authored
Feb 14, 2010
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
parents
5e2a911c
5affcd6b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
drivers/net/wireless/iwlwifi/iwl-rx.c
drivers/net/wireless/iwlwifi/iwl-rx.c
+4
-1
net/mac80211/rate.c
net/mac80211/rate.c
+3
-0
No files found.
drivers/net/wireless/iwlwifi/iwl-rx.c
View file @
3d0beb92
...
@@ -928,7 +928,10 @@ static void iwl_pass_packet_to_mac80211(struct iwl_priv *priv,
...
@@ -928,7 +928,10 @@ static void iwl_pass_packet_to_mac80211(struct iwl_priv *priv,
if
(
ieee80211_is_mgmt
(
fc
)
||
if
(
ieee80211_is_mgmt
(
fc
)
||
ieee80211_has_protected
(
fc
)
||
ieee80211_has_protected
(
fc
)
||
ieee80211_has_morefrags
(
fc
)
||
ieee80211_has_morefrags
(
fc
)
||
le16_to_cpu
(
hdr
->
seq_ctrl
)
&
IEEE80211_SCTL_FRAG
)
le16_to_cpu
(
hdr
->
seq_ctrl
)
&
IEEE80211_SCTL_FRAG
||
(
ieee80211_is_data_qos
(
fc
)
&&
*
ieee80211_get_qos_ctl
(
hdr
)
&
IEEE80211_QOS_CONTROL_A_MSDU_PRESENT
))
ret
=
skb_linearize
(
skb
);
ret
=
skb_linearize
(
skb
);
else
else
ret
=
__pskb_pull_tail
(
skb
,
min_t
(
u16
,
IWL_LINK_HDR_MAX
,
len
))
?
ret
=
__pskb_pull_tail
(
skb
,
min_t
(
u16
,
IWL_LINK_HDR_MAX
,
len
))
?
...
...
net/mac80211/rate.c
View file @
3d0beb92
...
@@ -245,6 +245,9 @@ void rate_control_get_rate(struct ieee80211_sub_if_data *sdata,
...
@@ -245,6 +245,9 @@ void rate_control_get_rate(struct ieee80211_sub_if_data *sdata,
info
->
control
.
rates
[
i
].
count
=
1
;
info
->
control
.
rates
[
i
].
count
=
1
;
}
}
if
(
sdata
->
local
->
hw
.
flags
&
IEEE80211_HW_HAS_RATE_CONTROL
)
return
;
if
(
sta
&&
sdata
->
force_unicast_rateidx
>
-
1
)
{
if
(
sta
&&
sdata
->
force_unicast_rateidx
>
-
1
)
{
info
->
control
.
rates
[
0
].
idx
=
sdata
->
force_unicast_rateidx
;
info
->
control
.
rates
[
0
].
idx
=
sdata
->
force_unicast_rateidx
;
}
else
{
}
else
{
...
...
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