Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
c380a1fd
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
c380a1fd
编写于
10月 10, 2013
作者:
J
John W. Linville
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
上级
d107babc
22c4ceed
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
2 deletion
+8
-2
net/mac80211/cfg.c
net/mac80211/cfg.c
+1
-1
net/mac80211/offchannel.c
net/mac80211/offchannel.c
+2
-0
net/mac80211/status.c
net/mac80211/status.c
+3
-0
net/mac80211/tx.c
net/mac80211/tx.c
+2
-1
未找到文件。
net/mac80211/cfg.c
浏览文件 @
c380a1fd
...
...
@@ -3518,7 +3518,7 @@ static int ieee80211_probe_client(struct wiphy *wiphy, struct net_device *dev,
return
-
EINVAL
;
}
band
=
chanctx_conf
->
def
.
chan
->
band
;
sta
=
sta_info_get
(
sdata
,
peer
);
sta
=
sta_info_get
_bss
(
sdata
,
peer
);
if
(
sta
)
{
qos
=
test_sta_flag
(
sta
,
WLAN_STA_WME
);
}
else
{
...
...
net/mac80211/offchannel.c
浏览文件 @
c380a1fd
...
...
@@ -394,6 +394,8 @@ void ieee80211_sw_roc_work(struct work_struct *work)
if
(
started
)
ieee80211_start_next_roc
(
local
);
else
if
(
list_empty
(
&
local
->
roc_list
))
ieee80211_run_deferred_scan
(
local
);
}
out_unlock:
...
...
net/mac80211/status.c
浏览文件 @
c380a1fd
...
...
@@ -180,6 +180,9 @@ static void ieee80211_frame_acked(struct sta_info *sta, struct sk_buff *skb)
struct
ieee80211_local
*
local
=
sta
->
local
;
struct
ieee80211_sub_if_data
*
sdata
=
sta
->
sdata
;
if
(
local
->
hw
.
flags
&
IEEE80211_HW_REPORTS_TX_ACK_STATUS
)
sta
->
last_rx
=
jiffies
;
if
(
ieee80211_is_data_qos
(
mgmt
->
frame_control
))
{
struct
ieee80211_hdr
*
hdr
=
(
void
*
)
skb
->
data
;
u8
*
qc
=
ieee80211_get_qos_ctl
(
hdr
);
...
...
net/mac80211/tx.c
浏览文件 @
c380a1fd
...
...
@@ -1120,7 +1120,8 @@ ieee80211_tx_prepare(struct ieee80211_sub_if_data *sdata,
tx
->
sta
=
rcu_dereference
(
sdata
->
u
.
vlan
.
sta
);
if
(
!
tx
->
sta
&&
sdata
->
dev
->
ieee80211_ptr
->
use_4addr
)
return
TX_DROP
;
}
else
if
(
info
->
flags
&
IEEE80211_TX_CTL_INJECTED
||
}
else
if
(
info
->
flags
&
(
IEEE80211_TX_CTL_INJECTED
|
IEEE80211_TX_INTFL_NL80211_FRAME_TX
)
||
tx
->
sdata
->
control_port_protocol
==
tx
->
skb
->
protocol
)
{
tx
->
sta
=
sta_info_get_bss
(
sdata
,
hdr
->
addr1
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录