/* This function returns a wpan-phy object corresponding to the passed network device. Reference counter for wpan-phy object is incremented, so when the wpan-phy isn't necessary, you should drop the reference via @wpan_phy_put() call.  */
static struct wpan_phy* fake_get_phy(const struct net_device *dev)
/* This function returns a wpan-phy object corresponding to the passed network device. Reference counter for wpan-phy object is incremented, so when the wpan-phy isn't necessary, you should drop the reference via @wpan_phy_put() call.  */
static struct wpan_phy* fake_get_phy(const struct net_device *dev)
{
	struct wpan_phy *phy = fake_to_phy(dev);
	return to_phy(get_device(&phy->dev));
}