Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
785a7de9
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
785a7de9
编写于
9月 05, 2012
作者:
J
John W. Linville
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-john' of
git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211
上级
518eefe1
7ce8c7a3
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
6 deletion
+11
-6
net/mac80211/cfg.c
net/mac80211/cfg.c
+4
-5
net/mac80211/mlme.c
net/mac80211/mlme.c
+4
-0
net/wireless/nl80211.c
net/wireless/nl80211.c
+3
-1
未找到文件。
net/mac80211/cfg.c
浏览文件 @
785a7de9
...
...
@@ -1378,6 +1378,8 @@ static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop,
else
memset
(
next_hop
,
0
,
ETH_ALEN
);
memset
(
pinfo
,
0
,
sizeof
(
*
pinfo
));
pinfo
->
generation
=
mesh_paths_generation
;
pinfo
->
filled
=
MPATH_INFO_FRAME_QLEN
|
...
...
@@ -1396,7 +1398,6 @@ static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop,
pinfo
->
discovery_timeout
=
jiffies_to_msecs
(
mpath
->
discovery_timeout
);
pinfo
->
discovery_retries
=
mpath
->
discovery_retries
;
pinfo
->
flags
=
0
;
if
(
mpath
->
flags
&
MESH_PATH_ACTIVE
)
pinfo
->
flags
|=
NL80211_MPATH_FLAG_ACTIVE
;
if
(
mpath
->
flags
&
MESH_PATH_RESOLVING
)
...
...
@@ -1405,10 +1406,8 @@ static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop,
pinfo
->
flags
|=
NL80211_MPATH_FLAG_SN_VALID
;
if
(
mpath
->
flags
&
MESH_PATH_FIXED
)
pinfo
->
flags
|=
NL80211_MPATH_FLAG_FIXED
;
if
(
mpath
->
flags
&
MESH_PATH_RESOLVING
)
pinfo
->
flags
|=
NL80211_MPATH_FLAG_RESOLVING
;
pinfo
->
flags
=
mpath
->
flags
;
if
(
mpath
->
flags
&
MESH_PATH_RESOLVED
)
pinfo
->
flags
|=
NL80211_MPATH_FLAG_RESOLVED
;
}
static
int
ieee80211_get_mpath
(
struct
wiphy
*
wiphy
,
struct
net_device
*
dev
,
...
...
net/mac80211/mlme.c
浏览文件 @
785a7de9
...
...
@@ -3248,6 +3248,8 @@ int ieee80211_mgd_auth(struct ieee80211_sub_if_data *sdata,
goto
out_unlock
;
err_clear:
memset
(
ifmgd
->
bssid
,
0
,
ETH_ALEN
);
ieee80211_bss_info_change_notify
(
sdata
,
BSS_CHANGED_BSSID
);
ifmgd
->
auth_data
=
NULL
;
err_free:
kfree
(
auth_data
);
...
...
@@ -3439,6 +3441,8 @@ int ieee80211_mgd_assoc(struct ieee80211_sub_if_data *sdata,
err
=
0
;
goto
out
;
err_clear:
memset
(
ifmgd
->
bssid
,
0
,
ETH_ALEN
);
ieee80211_bss_info_change_notify
(
sdata
,
BSS_CHANGED_BSSID
);
ifmgd
->
assoc_data
=
NULL
;
err_free:
kfree
(
assoc_data
);
...
...
net/wireless/nl80211.c
浏览文件 @
785a7de9
...
...
@@ -5633,8 +5633,10 @@ static int nl80211_connect(struct sk_buff *skb, struct genl_info *info)
sizeof
(
connect
.
ht_capa_mask
));
if
(
info
->
attrs
[
NL80211_ATTR_HT_CAPABILITY
])
{
if
(
!
info
->
attrs
[
NL80211_ATTR_HT_CAPABILITY_MASK
])
if
(
!
info
->
attrs
[
NL80211_ATTR_HT_CAPABILITY_MASK
])
{
kfree
(
connkeys
);
return
-
EINVAL
;
}
memcpy
(
&
connect
.
ht_capa
,
nla_data
(
info
->
attrs
[
NL80211_ATTR_HT_CAPABILITY
]),
sizeof
(
connect
.
ht_capa
));
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录