Johannes Berg wrote:
On Mon, 2012-05-28 at 13:18 +0200, Michal Kazior wrote:
Don't ignore interface combinations when only one
interface is up. Otherwise we may call a driver to
create (or change) interface type to something it
didn't report in interface combinations it
reported.
We still check wiphy.interface_modes before we even go into this
function, no? Arguably we should move the check into the function, but
I'm not sure what you're fixing here.
Suppose a driver advertises support for AP and STA. Without the patch
it's possible to bring up e.g. IBSS interface.
--
Pozdrawiam / Best regards, Michal Kazior.
--
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