]> err.no Git - linux-2.6/blobdiff - net/mac80211/ieee80211_ioctl.c
mac80211: add missing "break" statement in mesh code
[linux-2.6] / net / mac80211 / ieee80211_ioctl.c
index 7551db3f3abc7c75a993154092e96fcb6438e11f..38e2d83e15f4014dddb1b175ca558392016616e7 100644 (file)
@@ -525,6 +525,7 @@ static int ieee80211_ioctl_siwscan(struct net_device *dev,
 
        if (sdata->vif.type != IEEE80211_IF_TYPE_STA &&
            sdata->vif.type != IEEE80211_IF_TYPE_IBSS &&
+           sdata->vif.type != IEEE80211_IF_TYPE_MESH_POINT &&
            sdata->vif.type != IEEE80211_IF_TYPE_AP)
                return -EOPNOTSUPP;