Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
4c07ab0f
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
4c07ab0f
编写于
9月 22, 2008
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
上级
cec5eb7b
6115e855
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
14 addition
and
10 deletion
+14
-10
drivers/net/wireless/ath9k/core.c
drivers/net/wireless/ath9k/core.c
+2
-2
drivers/net/wireless/ath9k/core.h
drivers/net/wireless/ath9k/core.h
+0
-1
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/main.c
+8
-4
drivers/net/wireless/ath9k/xmit.c
drivers/net/wireless/ath9k/xmit.c
+3
-3
drivers/net/wireless/zd1211rw/zd_usb.c
drivers/net/wireless/zd1211rw/zd_usb.c
+1
-0
未找到文件。
drivers/net/wireless/ath9k/core.c
浏览文件 @
4c07ab0f
...
@@ -294,8 +294,6 @@ static int ath_stop(struct ath_softc *sc)
...
@@ -294,8 +294,6 @@ static int ath_stop(struct ath_softc *sc)
* hardware is gone (invalid).
* hardware is gone (invalid).
*/
*/
if
(
!
sc
->
sc_invalid
)
ath9k_hw_set_interrupts
(
ah
,
0
);
ath_draintxq
(
sc
,
false
);
ath_draintxq
(
sc
,
false
);
if
(
!
sc
->
sc_invalid
)
{
if
(
!
sc
->
sc_invalid
)
{
ath_stoprecv
(
sc
);
ath_stoprecv
(
sc
);
...
@@ -1336,6 +1334,8 @@ void ath_deinit(struct ath_softc *sc)
...
@@ -1336,6 +1334,8 @@ void ath_deinit(struct ath_softc *sc)
DPRINTF
(
sc
,
ATH_DBG_CONFIG
,
"%s
\n
"
,
__func__
);
DPRINTF
(
sc
,
ATH_DBG_CONFIG
,
"%s
\n
"
,
__func__
);
tasklet_kill
(
&
sc
->
intr_tq
);
tasklet_kill
(
&
sc
->
bcon_tasklet
);
ath_stop
(
sc
);
ath_stop
(
sc
);
if
(
!
sc
->
sc_invalid
)
if
(
!
sc
->
sc_invalid
)
ath9k_hw_setpower
(
sc
->
sc_ah
,
ATH9K_PM_AWAKE
);
ath9k_hw_setpower
(
sc
->
sc_ah
,
ATH9K_PM_AWAKE
);
...
...
drivers/net/wireless/ath9k/core.h
浏览文件 @
4c07ab0f
...
@@ -974,7 +974,6 @@ struct ath_softc {
...
@@ -974,7 +974,6 @@ struct ath_softc {
u32
sc_keymax
;
/* size of key cache */
u32
sc_keymax
;
/* size of key cache */
DECLARE_BITMAP
(
sc_keymap
,
ATH_KEYMAX
);
/* key use bit map */
DECLARE_BITMAP
(
sc_keymap
,
ATH_KEYMAX
);
/* key use bit map */
u8
sc_splitmic
;
/* split TKIP MIC keys */
u8
sc_splitmic
;
/* split TKIP MIC keys */
int
sc_keytype
;
/* RX */
/* RX */
struct
list_head
sc_rxbuf
;
struct
list_head
sc_rxbuf
;
...
...
drivers/net/wireless/ath9k/main.c
浏览文件 @
4c07ab0f
...
@@ -206,8 +206,6 @@ static int ath_key_config(struct ath_softc *sc,
...
@@ -206,8 +206,6 @@ static int ath_key_config(struct ath_softc *sc,
if
(
!
ret
)
if
(
!
ret
)
return
-
EIO
;
return
-
EIO
;
if
(
mac
)
sc
->
sc_keytype
=
hk
.
kv_type
;
return
0
;
return
0
;
}
}
...
@@ -778,7 +776,6 @@ static int ath9k_set_key(struct ieee80211_hw *hw,
...
@@ -778,7 +776,6 @@ static int ath9k_set_key(struct ieee80211_hw *hw,
case
DISABLE_KEY
:
case
DISABLE_KEY
:
ath_key_delete
(
sc
,
key
);
ath_key_delete
(
sc
,
key
);
clear_bit
(
key
->
keyidx
,
sc
->
sc_keymap
);
clear_bit
(
key
->
keyidx
,
sc
->
sc_keymap
);
sc
->
sc_keytype
=
ATH9K_CIPHER_CLR
;
break
;
break
;
default:
default:
ret
=
-
EINVAL
;
ret
=
-
EINVAL
;
...
@@ -1414,10 +1411,17 @@ static void ath_pci_remove(struct pci_dev *pdev)
...
@@ -1414,10 +1411,17 @@ static void ath_pci_remove(struct pci_dev *pdev)
{
{
struct
ieee80211_hw
*
hw
=
pci_get_drvdata
(
pdev
);
struct
ieee80211_hw
*
hw
=
pci_get_drvdata
(
pdev
);
struct
ath_softc
*
sc
=
hw
->
priv
;
struct
ath_softc
*
sc
=
hw
->
priv
;
enum
ath9k_int
status
;
if
(
pdev
->
irq
)
if
(
pdev
->
irq
)
{
ath9k_hw_set_interrupts
(
sc
->
sc_ah
,
0
);
/* clear the ISR */
ath9k_hw_getisr
(
sc
->
sc_ah
,
&
status
);
sc
->
sc_invalid
=
1
;
free_irq
(
pdev
->
irq
,
sc
);
free_irq
(
pdev
->
irq
,
sc
);
}
ath_detach
(
sc
);
ath_detach
(
sc
);
pci_iounmap
(
pdev
,
sc
->
mem
);
pci_iounmap
(
pdev
,
sc
->
mem
);
pci_release_region
(
pdev
,
0
);
pci_release_region
(
pdev
,
0
);
pci_disable_device
(
pdev
);
pci_disable_device
(
pdev
);
...
...
drivers/net/wireless/ath9k/xmit.c
浏览文件 @
4c07ab0f
...
@@ -315,11 +315,11 @@ static int ath_tx_prepare(struct ath_softc *sc,
...
@@ -315,11 +315,11 @@ static int ath_tx_prepare(struct ath_softc *sc,
txctl
->
keyix
=
tx_info
->
control
.
hw_key
->
hw_key_idx
;
txctl
->
keyix
=
tx_info
->
control
.
hw_key
->
hw_key_idx
;
txctl
->
frmlen
+=
tx_info
->
control
.
icv_len
;
txctl
->
frmlen
+=
tx_info
->
control
.
icv_len
;
if
(
sc
->
sc_keytype
==
ATH9K_CIPHER
_WEP
)
if
(
tx_info
->
control
.
hw_key
->
alg
==
ALG
_WEP
)
txctl
->
keytype
=
ATH9K_KEY_TYPE_WEP
;
txctl
->
keytype
=
ATH9K_KEY_TYPE_WEP
;
else
if
(
sc
->
sc_keytype
==
ATH9K_CIPHER
_TKIP
)
else
if
(
tx_info
->
control
.
hw_key
->
alg
==
ALG
_TKIP
)
txctl
->
keytype
=
ATH9K_KEY_TYPE_TKIP
;
txctl
->
keytype
=
ATH9K_KEY_TYPE_TKIP
;
else
if
(
sc
->
sc_keytype
==
ATH9K_CIPHER_AES_CCM
)
else
if
(
tx_info
->
control
.
hw_key
->
alg
==
ALG_CCMP
)
txctl
->
keytype
=
ATH9K_KEY_TYPE_AES
;
txctl
->
keytype
=
ATH9K_KEY_TYPE_AES
;
}
}
...
...
drivers/net/wireless/zd1211rw/zd_usb.c
浏览文件 @
4c07ab0f
...
@@ -58,6 +58,7 @@ static struct usb_device_id usb_ids[] = {
...
@@ -58,6 +58,7 @@ static struct usb_device_id usb_ids[] = {
{
USB_DEVICE
(
0x0586
,
0x3407
),
.
driver_info
=
DEVICE_ZD1211
},
{
USB_DEVICE
(
0x0586
,
0x3407
),
.
driver_info
=
DEVICE_ZD1211
},
{
USB_DEVICE
(
0x129b
,
0x1666
),
.
driver_info
=
DEVICE_ZD1211
},
{
USB_DEVICE
(
0x129b
,
0x1666
),
.
driver_info
=
DEVICE_ZD1211
},
{
USB_DEVICE
(
0x157e
,
0x300a
),
.
driver_info
=
DEVICE_ZD1211
},
{
USB_DEVICE
(
0x157e
,
0x300a
),
.
driver_info
=
DEVICE_ZD1211
},
{
USB_DEVICE
(
0x0105
,
0x145f
),
.
driver_info
=
DEVICE_ZD1211
},
/* ZD1211B */
/* ZD1211B */
{
USB_DEVICE
(
0x0ace
,
0x1215
),
.
driver_info
=
DEVICE_ZD1211B
},
{
USB_DEVICE
(
0x0ace
,
0x1215
),
.
driver_info
=
DEVICE_ZD1211B
},
{
USB_DEVICE
(
0x157e
,
0x300d
),
.
driver_info
=
DEVICE_ZD1211B
},
{
USB_DEVICE
(
0x157e
,
0x300d
),
.
driver_info
=
DEVICE_ZD1211B
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录