提交 9b5cce07 编写于 作者: P Pavel Roskin 提交者: John W. Linville

[PATCH] hostap: Restore antenna selection settings after port reset

Intersil firmware 1.7.4 (and possibly others) loses the antenna
selection settings when the port is reset.
Signed-off-by: NDavid Acker <dacker@roinet.com>
Signed-off-by: NPavel Roskin <proski@gnu.org>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 794ccda6
...@@ -1042,6 +1042,9 @@ static int prism2_reset_port(struct net_device *dev) ...@@ -1042,6 +1042,9 @@ static int prism2_reset_port(struct net_device *dev)
dev->name, local->fragm_threshold); dev->name, local->fragm_threshold);
} }
/* Some firmwares lose antenna selection settings on reset */
(void) hostap_set_antsel(local);
return res; return res;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册