diff options
Diffstat (limited to 'net/mac80211')
-rw-r--r-- | net/mac80211/wext.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/mac80211/wext.c b/net/mac80211/wext.c index fbeb927c116b..15428048d01a 100644 --- a/net/mac80211/wext.c +++ b/net/mac80211/wext.c | |||
@@ -418,8 +418,7 @@ static int ieee80211_ioctl_siwscan(struct net_device *dev, | |||
418 | 418 | ||
419 | if (sdata->vif.type != NL80211_IFTYPE_STATION && | 419 | if (sdata->vif.type != NL80211_IFTYPE_STATION && |
420 | sdata->vif.type != NL80211_IFTYPE_ADHOC && | 420 | sdata->vif.type != NL80211_IFTYPE_ADHOC && |
421 | sdata->vif.type != NL80211_IFTYPE_MESH_POINT && | 421 | sdata->vif.type != NL80211_IFTYPE_MESH_POINT) |
422 | sdata->vif.type != NL80211_IFTYPE_AP) | ||
423 | return -EOPNOTSUPP; | 422 | return -EOPNOTSUPP; |
424 | 423 | ||
425 | /* if SSID was specified explicitly then use that */ | 424 | /* if SSID was specified explicitly then use that */ |