How to create and apply a kernel patch for OpenWrt 18?

Hi ! Thank you very mach! Everything worked out. I will write here, suddenly someone will help.

make package/kernel/mac80211/{clean,prepare} V=s QUILT=1

cd build_dir/target-mips_24kc_musl/linux-ar71xx_generic/backports-2017-11-01/

quilt series

quilt push -a

quilt new 401-fix_jump.patch

quilt edit drivers/net/wireless/ath/ath9k/init.c

quilt refresh

cd ../../../../

make package/kernel/mac80211/update V=s

make package/kernel/mac80211/{clean,compile} package/index V=s

make -j8 V=s

4 Likes