Message ID | 573F2FB3.6090206@lwfinger.net (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Kalle Valo |
Headers | show |
On 05/20/2016 09:39 AM, Larry Finger wrote: > @James: Please run the command "dmesg | grep rtl_rfreg_delay". Do any of the > resulting lines show a value other than "+0x38" for the offset? If that is the > only one, the attached patch should fix the problem. Sorry about the delayed response. $ dmesg | grep rtl_rfreg_delay [ 15.936262] [<ffffffffa06b1218>] rtl_rfreg_delay+0x38/0x50 [rtlwifi] [ 348.735402] [<ffffffffa06b1218>] rtl_rfreg_delay+0x38/0x50 [rtlwifi] So that looks like a no, just the "+0x38" for the offset. Thanks James -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 05/23/2016 12:29 PM, James Feeney wrote: > On 05/20/2016 09:39 AM, Larry Finger wrote: >> @James: Please run the command "dmesg | grep rtl_rfreg_delay". Do any of the >> resulting lines show a value other than "+0x38" for the offset? If that is the >> only one, the attached patch should fix the problem. > > Sorry about the delayed response. > > $ dmesg | grep rtl_rfreg_delay > [ 15.936262] [<ffffffffa06b1218>] rtl_rfreg_delay+0x38/0x50 [rtlwifi] > [ 348.735402] [<ffffffffa06b1218>] rtl_rfreg_delay+0x38/0x50 [rtlwifi] > > So that looks like a no, just the "+0x38" for the offset. I was able to duplicate the BUG and have submitted a patch. I think you were in the Cc list. The patch will appear sometime in the 4.7-rcX series, and will be ported to kernel 4.6 once it appears in the mainline repo. Larry -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Makefile b/Makefile index 0f9cb36..080962b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 4 -PATCHLEVEL = 6 +PATCHLEVEL = 7 SUBLEVEL = 0 -EXTRAVERSION = +EXTRAVERSION = rc1 NAME = Charred Weasel # *DOCUMENTATION* diff --git a/drivers/net/wireless/realtek/rtlwifi/core.c b/drivers/net/wireless/realtek/rtlwifi/core.c index 0f48048..2fc0e26 100644 --- a/drivers/net/wireless/realtek/rtlwifi/core.c +++ b/drivers/net/wireless/realtek/rtlwifi/core.c @@ -75,7 +75,7 @@ void rtl_rfreg_delay(struct ieee80211_hw *hw, enum radio_path rfpath, u32 addr, rtl_addr_delay(addr); } else { rtl_set_rfreg(hw, rfpath, addr, mask, data); - usleep_range(1, 2); + udelay(1); } } EXPORT_SYMBOL(rtl_rfreg_delay);