zjr2472265650
zjr2472265650
2018-12-05 10:22

ath9k驱动不能正常记载导致板子一直重启

5
  • 高通
  • 无线通信
  • openwrt

qca9563 ath9k
内核 4.9.131
openwrt ap152

static int ath_ahb_probe(struct platform_device *pdev)
{
ret = ath9k_init_device(dev_id, sc, &ath_ahb_bus_ops);
}
int ath9k_init_device(u16 devid, struct ath_softc *sc,
const struct ath_bus_ops *bus_ops)
{

error = ath9k_init_softc(devid, sc, bus_ops);
}

static int ath9k_init_softc(u16 devid, struct ath_softc *sc,
const struct ath_bus_ops *bus_ops)
{
ret = ath9k_hw_init(ah);
}
int ath9k_hw_init(struct ath_hw *ah)
{
int ret;
struct ath_common *common = ath9k_hw_common(ah);
}

static inline struct ath_common *ath9k_hw_common(struct ath_hw *ah)
{
return &ah->common;
}

ath9k驱动调用该函数导致cup挂掉,具体如图,求助大神指导,或者给点思路。

图片说明

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答

为你推荐

换一换