diff options
Diffstat (limited to 'net/mac80211/ieee80211_ioctl.c')
-rw-r--r-- | net/mac80211/ieee80211_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c index 7551db3f3abc..38e2d83e15f4 100644 --- a/net/mac80211/ieee80211_ioctl.c +++ b/net/mac80211/ieee80211_ioctl.c | |||
@@ -525,6 +525,7 @@ static int ieee80211_ioctl_siwscan(struct net_device *dev, | |||
525 | 525 | ||
526 | if (sdata->vif.type != IEEE80211_IF_TYPE_STA && | 526 | if (sdata->vif.type != IEEE80211_IF_TYPE_STA && |
527 | sdata->vif.type != IEEE80211_IF_TYPE_IBSS && | 527 | sdata->vif.type != IEEE80211_IF_TYPE_IBSS && |
528 | sdata->vif.type != IEEE80211_IF_TYPE_MESH_POINT && | ||
528 | sdata->vif.type != IEEE80211_IF_TYPE_AP) | 529 | sdata->vif.type != IEEE80211_IF_TYPE_AP) |
529 | return -EOPNOTSUPP; | 530 | return -EOPNOTSUPP; |
530 | 531 | ||