After commit ca247d5f50acd4fc6fdc1dec770e726b0d7eda60 "mac80211: only create default STA interface if supported", rtl8187 stopped working because the add_interface callback was not called. For reasons that I do not understand, the IFTYPE_ADHOC bit, as well as the IFTYPE_STATION bit, must be set in the interface_modes variable. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> --- John, This should be added to wireless-testing as soon as possible. Larry --- Index: wireless-testing/drivers/net/wireless/rtl818x/rtl8187_dev.c =================================================================== --- wireless-testing.orig/drivers/net/wireless/rtl818x/rtl8187_dev.c +++ wireless-testing/drivers/net/wireless/rtl818x/rtl8187_dev.c @@ -1429,7 +1429,10 @@ static int __devinit rtl8187_probe(struc * XXX: Once this driver supports anything that requires * beacons it must implement IEEE80211_TX_CTL_ASSIGN_SEQ. */ - dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION); + dev->wiphy->interface_modes = + BIT(NL80211_IFTYPE_STATION) | + BIT(NL80211_IFTYPE_ADHOC); + if ((id->driver_info == DEVICE_RTL8187) && priv->is_rtl8187b) printk(KERN_INFO "rtl8187: inconsistency between id with OEM" -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html