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, if (sdata->vif.type != NL80211_IFTYPE_STATION && sdata->vif.type != NL80211_IFTYPE_ADHOC && - sdata->vif.type != NL80211_IFTYPE_MESH_POINT && - sdata->vif.type != NL80211_IFTYPE_AP) + sdata->vif.type != NL80211_IFTYPE_MESH_POINT) return -EOPNOTSUPP; /* if SSID was specified explicitly then use that */ |