Applying a patch


I want to apply a couple of patches:

  • package/kernel/mac80211/patches/402-ath_regd_optional.patch
  • package/kernel/mac80211/patches/404-regd_no_assoc_hints.patch

Is it enough if i copy them to target/linux/ar71xx/patches-4.4/ ? before i compile my new firmware or do i need to do anything else?


Please read

I don't really understand that guide, i want to apply an already existing patch and apparently that guide explains how to create a new patch or edit an existing one?

No this is for all kinds of patches ...

Please note you want to add following patches


These are build with mac80211 backports (*) and not with any kernel source.

(*) includes drivers and wifi stack
Latest version is

Ok, this is what i have done so far:

make target/linux/{clean,prepare} V=s QUILT=1
cd build_dir/target-mips_24kc_musl/linux-ar71xx_generic/linux-4.4.74/
cd ../../../../
make target/linux/update package/kernel/mac80211/patches/402-ath_regd_optional.patch V=s
make target/linux/update package/kernel/mac80211/patches/404-regd_no_assoc_hints.patch V=s
cd ../../../../

But if i run quilt series i don't see my patches listed?