diff --git a/Makefile b/Makefile index f5543eef4f82..6d985a175d78 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 -PATCHLEVEL = 3 +PATCHLEVEL = 4 SUBLEVEL = 0 -EXTRAVERSION = +EXTRAVERSION = -rc0 NAME = Hurr durr I'ma ninja sloth # *DOCUMENTATION* diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c index 831639d73657..9d778400d2b9 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c @@ -4864,6 +4864,10 @@ rtl8xxxu_bss_info_changed(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u32 val32; u8 val8; + if (priv->regrcr != rtl8xxxu_read32(priv, REG_RCR)) { + pr_info("REG_RCR corrupted in %s: 0x%x insted of 0x%x\n", + __func__, rtl8xxxu_read32(priv, REG_RCR), priv->regrcr); + } rarpt = &priv->ra_report; if (changed & BSS_CHANGED_ASSOC) { @@ -6504,6 +6508,10 @@ static void rtl8xxxu_configure_filter(struct ieee80211_hw *hw, struct rtl8xxxu_priv *priv = hw->priv; u32 rcr = priv->regrcr; + if (priv->regrcr != rtl8xxxu_read32(priv, REG_RCR)) { + pr_info("REG_RCR corrupted in %s: 0x%x insted of 0x%x\n", + __func__, rtl8xxxu_read32(priv, REG_RCR), priv->regrcr); + } dev_dbg(&priv->udev->dev, "%s: changed_flags %08x, total_flags %08x\n", __func__, changed_flags, *total_flags);