[OpenWrt-Devel] [PATCH] generic: add linux 4.1-rc1 support

Hauke Mehrtens hauke at hauke-m.de
Fri May 1 05:21:42 EDT 2015

On 05/01/2015 10:59 AM, Dirk Neukirchen wrote:
> On 28.04.2015 23:08, Álvaro Fernández Rojas wrote:
>> Boot tested: http://pastebin.com/L6aAb9xj
>> Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
> Great work !

> 2. any(?) mac80211 does not built
> Error: include/net/cfg80211.h:3249:25: error: 'struct wiphy' has no member named '_net'
>   return read_pnet(&wiphy->_net);
> I did try to use the v4.1-rc1 Backports package as drop-in (only some OpenWrt specific driver series patches were not applied) 
> since it should deal with that error, (
> but I get compile errors with that too:
> include/net/cfg80211.h:3253:2: error: implicit declaration of function 'possible_write_pnet'
> include/net/cfg80211.h:3248:2: error: implicit declaration of function 'possible_read_pnet'
> (introduced by https://git.kernel.org/cgit/linux/kernel/git/backports/backports.git/tree/patches/collateral-evolutions/network/0053-possible_net_t.patch )


This looks like a bug in backports, I haven't tested this image against
kernel 4.1. Please try the attached patch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-header-add-possible_-write-read-_pnet-on-kernel-4.1.patch
Type: text/x-diff
Size: 1210 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150501/124ae7d4/attachment.bin>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list