1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-09-19 20:50:41 +00:00

Fix compilation error under kernel 3.13

This commit is contained in:
astsam 2017-03-28 21:05:32 +03:00
parent 0d541e2248
commit 2917986236

View File

@ -322,7 +322,12 @@ static void _rtw_reg_apply_flags(struct wiphy *wiphy)
if (ch)
ch->flags &= ~(IEEE80211_CHAN_DISABLED|IEEE80211_CHAN_NO_HT40PLUS|
IEEE80211_CHAN_NO_HT40MINUS|IEEE80211_CHAN_NO_80MHZ|
IEEE80211_CHAN_NO_160MHZ|IEEE80211_CHAN_NO_IR);
IEEE80211_CHAN_NO_160MHZ|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0))
IEEE80211_CHAN_NO_IBSS|IEEE80211_CHAN_PASSIVE_SCAN);
#else
IEEE80211_CHAN_NO_IR);
#endif
}
}
}