diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/ieee80211_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_ioctl.c b/net/mac80211/ieee80211_ioctl.c index 8296e7de12c7..d48f3aa30e30 100644 --- a/net/mac80211/ieee80211_ioctl.c +++ b/net/mac80211/ieee80211_ioctl.c | |||
@@ -821,7 +821,7 @@ static int ieee80211_ioctl_prism2_param(struct net_device *dev, | |||
821 | break; | 821 | break; |
822 | 822 | ||
823 | case PRISM2_PARAM_PREAMBLE: | 823 | case PRISM2_PARAM_PREAMBLE: |
824 | if (sdata->type != IEEE80211_IF_TYPE_AP) { | 824 | if (sdata->type == IEEE80211_IF_TYPE_AP) { |
825 | if (value) | 825 | if (value) |
826 | sdata->flags |= IEEE80211_SDATA_SHORT_PREAMBLE; | 826 | sdata->flags |= IEEE80211_SDATA_SHORT_PREAMBLE; |
827 | else | 827 | else |