kali-nethunter
kali-nethunter copied to clipboard
Modifying kernel end up with error
Device:LG V30+
Lineage OS 16
Built from repo (date and build command) or downloaded from website (links):
Output of cat /proc/version in adb shell or NetHunter Terminal:
Issue:
I tried to apply the patch for kernel from this source https://github.com/zachariasmaladroit/android_kernel_lge_msm8998/tree/d583fe119b22b9357fe7ac03907baa9c41dfa682 but when I run make command I get this error, can you help me please ?
``net/mac80211/tx.c: In function ‘ieee80211_duration’:
net/mac80211/tx.c:167:8: error: ‘IEEE80211_BAND_60GHZ’ undeclared (first use in this function); did you mean ‘IEEE80211_BANDID_60G’?
case IEEE80211_BAND_60GHZ:
^~~~~~~~~~~~~~~~~~~~
IEEE80211_BANDID_60G
net/mac80211/tx.c:167:8: note: each undeclared identifier is reported only once for each function it appears in
net/mac80211/tx.c:152:3: warning: enumeration value ‘NL80211_BAND_60GHZ’ not handled in switch [-Wswitch]
switch (sband->band) {
^~~~~~`