--- a/init.c +++ b/init.c @@ -16,6 +16,9 @@ #include "eeprom.h" #include "mcu.h" +#define ieee80211_hw_set(hw, flag) \ + do { (hw)->flags |= IEEE80211_HW_##flag; } while(0) + static bool mt76_wait_for_mac(struct mt76_dev *dev) {