On Tue, 2015-02-24 at 12:58 -0600, James Minor wrote: > When using the wext compatibility code in cfg80211, part of the IEs > can be truncated if the passed user buffer is large enough for the > BSS but not large enough for all of the IEs. This can cause an EAP > network to show up as a PSK network. > > These changes allow the scan to always return -E2BIG in that case. I've applied a patch similar to this - please check mac80211-next. I wasn't really happy with the inline either after I looked more closely, so I created new _check() wrappers in the wext header file and used those here now. I did change the control flow, which you seem to have been reluctant to do, but it ultimately seemed like the better option. johannes -- 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