int ret;
u8 buf[3];
+ if (priv->sleeping)
+ return 0;
+
ret = rtl2830_rd_regs(priv, 0x33c, buf, 2);
if (ret)
goto err;
{ 92888734, 92888734, 95487525, 99770748 },
};
+ if (priv->sleeping)
+ return 0;
+
/* reports SNR in resolution of 0.1 dB */
ret = rtl2830_rd_reg(priv, 0x33c, &tmp);
int ret;
u8 buf[2];
+ if (priv->sleeping)
+ return 0;
+
ret = rtl2830_rd_regs(priv, 0x34e, buf, 2);
if (ret)
goto err;
u8 buf[2];
u16 if_agc_raw, if_agc;
+ if (priv->sleeping)
+ return 0;
+
ret = rtl2830_rd_regs(priv, 0x359, buf, 2);
if (ret)
goto err;