wifi: rtw88: remove unsupported interface type of mesh point
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 29 Mar 2024 11:44:03 +0000 (19:44 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Wed, 3 Apr 2024 02:49:48 +0000 (10:49 +0800)
Mesh point was added during development, but not remove at first
submission, so it should not work properly. Remove it to reflect correct
supported features.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240329114403.5539-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw88/main.c

index d1f0e7541bfa96f9b77c110ca90baba98abdc4f0..7ab7a988b123f1caa3206e5cfe45b0f399fa7b33 100644 (file)
@@ -2237,8 +2237,7 @@ int rtw_register_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw)
        else
                hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
                                             BIT(NL80211_IFTYPE_AP) |
-                                            BIT(NL80211_IFTYPE_ADHOC) |
-                                            BIT(NL80211_IFTYPE_MESH_POINT);
+                                            BIT(NL80211_IFTYPE_ADHOC);
        hw->wiphy->available_antennas_tx = hal->antenna_tx;
        hw->wiphy->available_antennas_rx = hal->antenna_rx;