nl80211: Refactor mode switch logic
authorChristopher Wiley <wiley@chromium.org>
Thu, 26 Jun 2014 20:13:06 +0000 (13:13 -0700)
committerJouni Malinen <j@w1.fi>
Sat, 28 Jun 2014 07:42:05 +0000 (10:42 +0300)
commitebffdbc493a4f2cfba09620dd00b6383822c076b
treebe72eb2b15218ff7a9fe4c43d0ded00490153680
parentf95a4524c2c00476e46b7999426ffdcbc7cd538f
nl80211: Refactor mode switch logic

In preparation for another wrinkle around switching into IBSS mode,
refactor existing mode switch logic for simplicity at the expense
of some brevity.

Signed-off-by: Christopher Wiley <wiley@chromium.org>
src/drivers/driver_nl80211.c