Skip to content

Commit bcd9125

Browse files
ajaykathatnoglitch
authored andcommitted
wilc1000: fix to start of AP mode with ieee80211w enabled
'set_default_mgmt_key' cb is required to allow AP mode when 'ieee80211w' configuration is defined for hostapd. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
1 parent 9f95387 commit bcd9125

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

drivers/net/wireless/microchip/wilc1000/cfg80211.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,12 @@ static int set_default_key(struct wiphy *wiphy, struct net_device *netdev,
846846
return 0;
847847
}
848848

849+
static int set_default_mgmt_key (struct wiphy *wiphy,struct net_device *netdev,
850+
u8 key_index)
851+
{
852+
return 0;
853+
}
854+
849855
static int get_station(struct wiphy *wiphy, struct net_device *dev,
850856
const u8 *mac, struct station_info *sinfo)
851857
{
@@ -2087,6 +2093,7 @@ static const struct cfg80211_ops wilc_cfg80211_ops = {
20872093
.del_key = del_key,
20882094
.get_key = get_key,
20892095
.set_default_key = set_default_key,
2096+
.set_default_mgmt_key = set_default_mgmt_key,
20902097
.add_virtual_intf = add_virtual_intf,
20912098
.del_virtual_intf = del_virtual_intf,
20922099
.change_virtual_intf = change_virtual_intf,

0 commit comments

Comments
 (0)