made these changes #define AUTO_FCS_OFF BIT(0) adf7242_write_reg adf7242_write_reg(lp, REG_RC_CFG, 0); adf7242_write_reg(lp, REG_PKT_CFG, ADDON_EN | BIT(2) | AUTO_FCS_OFF); static int adf7242_remove(struct spi_device *spi) ieee802154_unregister_hw(lp->hw); return 0;