]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blobdiff - drivers/net/wireless/rt2x00/rt2x00dev.c
Merge tag 'v3.8.6' into connectivity-linux-3.8.y
[android-sdk/kernel-video.git] / drivers / net / wireless / rt2x00 / rt2x00dev.c
index 1031db66474a6403e67ab5a8f5789820343ac1a6..c7a5d26481c855b7823dd9122805c60b14a54dec 100644 (file)
@@ -1309,7 +1309,9 @@ int rt2x00lib_probe_dev(struct rt2x00_dev *rt2x00dev)
                rt2x00dev->hw->wiphy->interface_modes |=
                    BIT(NL80211_IFTYPE_ADHOC) |
                    BIT(NL80211_IFTYPE_AP) |
+#ifdef CONFIG_MAC80211_MESH
                    BIT(NL80211_IFTYPE_MESH_POINT) |
+#endif
                    BIT(NL80211_IFTYPE_WDS);
 
        rt2x00dev->hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;