Re: [LEDE-DEV] Problem with iwinfo rpcd plugin and nl80211 (CONFIG_PACKAGE_rpcd-mod-iwinfo=m CONFIG_PACKAGE_rpcd-mod-lxc=y)

2017-11-09 Thread Rafał Miłecki
On 9 November 2017 at 11:00, Rafał Miłecki wrote: > I've found a problem with iwinfo that appears only with a very specific > config. > > What happens: > ubus call iwinfo info '{ "device": "wlan0" }' > Above call fails to get interface details using nl80211 and fallbacks > to

[LEDE-DEV] Problem with iwinfo rpcd plugin and nl80211 (CONFIG_PACKAGE_rpcd-mod-iwinfo=m CONFIG_PACKAGE_rpcd-mod-lxc=y)

2017-11-09 Thread Rafał Miłecki
I've found a problem with iwinfo that appears only with a very specific config. What happens: ubus call iwinfo info '{ "device": "wlan0" }' Above call fails to get interface details using nl80211 and fallbacks to the wext. My last debugging attempt pointed to nlmsg_alloc() returning NULL which