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挂掉,具体如图,求助大神指导,或者给点思路。