It looks like in commit 28487a90 the condition was unintentionally negated by moving some code, fix it. Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Cc: Daniel Drake <dsd@xxxxxxxxxx> --- net/mac80211/ieee80211_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- wireless-dev.orig/net/mac80211/ieee80211_ioctl.c 2007-08-21 14:39:16.465923881 +0200 +++ wireless-dev/net/mac80211/ieee80211_ioctl.c 2007-08-21 14:39:42.055923881 +0200 @@ -2191,7 +2191,7 @@ static int ieee80211_ioctl_prism2_param( break; case PRISM2_PARAM_PREAMBLE: - if (sdata->type != IEEE80211_IF_TYPE_AP) { + if (sdata->type == IEEE80211_IF_TYPE_AP) { sdata->short_preamble = !!value; ieee80211_erp_info_change_notify(dev, IEEE80211_ERP_CHANGE_PREAMBLE); } else { -- - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html