diff options
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index c34c1a41019a..03de4024597a 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c | |||
@@ -1262,7 +1262,7 @@ static int ieee80211_assoc(struct wiphy *wiphy, struct net_device *dev, | |||
1262 | sdata->u.mgd.flags &= ~IEEE80211_STA_MFP_ENABLED; | 1262 | sdata->u.mgd.flags &= ~IEEE80211_STA_MFP_ENABLED; |
1263 | } | 1263 | } |
1264 | 1264 | ||
1265 | if (req->control_port) | 1265 | if (req->crypto.control_port) |
1266 | sdata->u.mgd.flags |= IEEE80211_STA_CONTROL_PORT; | 1266 | sdata->u.mgd.flags |= IEEE80211_STA_CONTROL_PORT; |
1267 | else | 1267 | else |
1268 | sdata->u.mgd.flags &= ~IEEE80211_STA_CONTROL_PORT; | 1268 | sdata->u.mgd.flags &= ~IEEE80211_STA_CONTROL_PORT; |