Hi, I need to send wdev and rdev to a function when calling it. However, wdev can be got from *genl_info* as*info->user_ptr[1]->ieee80211_ptr * or from *struct sk_buff* as* skb->dev->ieee80211_ptr*. I use printk to print the value (address they point to) of them and got different addresses. Can you advice me what is the difference between them and which of them I shall use in my code if I need to?
Thanks in advance.
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel