Skip to content

Commit 5d29050

Browse files
alexw65500jmberg-intel
authored andcommitted
mac80211_hwsim: Extended Key ID API update
Prepare hwsim Extended Key ID support for a mac80211 API change. The mac80211 flag IEEE80211_HW_EXT_KEY_ID_NATIVE is being replaced by NL80211_EXT_FEATURE_EXT_KEY_ID which only must be set by drivers when they support HW crypto. This reverts commit cfe7007 ("mac80211_hwsim: Extended Key ID support"). Signed-off-by: Alexander Wetzel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
1 parent fb0e76a commit 5d29050

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/net/wireless/mac80211_hwsim.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2806,12 +2806,6 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
28062806
ieee80211_hw_set(hw, SIGNAL_DBM);
28072807
ieee80211_hw_set(hw, SUPPORTS_PS);
28082808
ieee80211_hw_set(hw, TDLS_WIDER_BW);
2809-
2810-
/* We only have SW crypto and only implement the A-MPDU API
2811-
* (but don't really build A-MPDUs) so can have extended key
2812-
* support
2813-
*/
2814-
ieee80211_hw_set(hw, EXT_KEY_ID_NATIVE);
28152809
if (rctbl)
28162810
ieee80211_hw_set(hw, SUPPORTS_RC_TABLE);
28172811
ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);

0 commit comments

Comments
 (0)