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-14 00:27:31.475589257 +0200 +++ wireless-dev/net/mac80211/ieee80211_ioctl.c 2007-08-14 00:27:32.175589257 +0200 @@ -1962,7 +1962,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