On 12/15/2012 02:44 PM, Martin Beran wrote:
(sry for my mistake in the subject before, Broadcom BCM4313 it is) to clarify it is still asking for wpa key, but doesnt want to connect from irc: > b6fc28a158076ca2764edc9a6d1e1402f56e1c0c is the bad commit > it added usleep_range() instead of udelay()
Did you get a patch from IRC? If not, the one below will likely do the trick. Larry Index: wireless-testing-new/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c =================================================================== --- wireless-testing-new.orig/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c +++ wireless-testing-new/drivers/net/wireless/brcm80211/brcmsmac/phy/phy_lcn.c @@ -1343,13 +1343,13 @@ static bool wlc_lcnphy_rx_iq_cal_gain(st wlc_lcnphy_rx_gain_override_enable(pi, true); wlc_lcnphy_start_tx_tone(pi, 2000, (40 >> 1), 0); - usleep_range(500, 500); + udelay(500); write_radio_reg(pi, RADIO_2064_REG112, 0); if (!wlc_lcnphy_rx_iq_est(pi, 1024, 32, &iq_est_l)) return false; wlc_lcnphy_start_tx_tone(pi, 2000, 40, 0); - usleep_range(500, 500); + udelay(500); write_radio_reg(pi, RADIO_2064_REG112, 0); if (!wlc_lcnphy_rx_iq_est(pi, 1024, 32, &iq_est_h)) return false; -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html