Patchwork [9/9] rtl8187: restore anaparam registers after reset with 8187B

login
register
mail settings
Submitter Herton Ronaldo Krzesinski
Date Nov. 2, 2010, 12:59 a.m.
Message ID <1288659579-4986-10-git-send-email-herton@mandriva.com.br>
Download mbox | patch
Permalink /patch/296392/
State Not Applicable, archived
Headers show

Comments

Patch

diff --git a/drivers/net/wireless/rtl818x/rtl8187_dev.c b/drivers/net/wireless/rtl818x/rtl8187_dev.c
index 4448647..eeee244 100644
--- a/drivers/net/wireless/rtl818x/rtl8187_dev.c
+++ b/drivers/net/wireless/rtl818x/rtl8187_dev.c
@@ -771,6 +771,8 @@  static int rtl8187b_init_hw(struct ieee80211_hw *dev)
 	if (res)
 		return res;
 
+	rtl8187_set_anaparam(priv, true);
+
 	/* BRSR (Basic Rate Set Register) on 8187B looks to be the same as
 	 * RESP_RATE on 8187L in Realtek sources: each bit should be each
 	 * one of the 12 rates, all are enabled */