ADHOC_NETWORK
vif->next_mode = ADHOC_NETWORK;
if (vif->nw_type == ADHOC_NETWORK)
*nw_type = ADHOC_NETWORK;
if (nw_type & ADHOC_NETWORK) {
if (nw_type & ADHOC_NETWORK) {
if (nw_type & ADHOC_NETWORK) {
if (vif->nw_type & ADHOC_NETWORK) {
if ((vif->nw_type == ADHOC_NETWORK) && ar->ibss_ps_enable) {
if ((vif->nw_type == ADHOC_NETWORK) &&
if (vif->nw_type == ADHOC_NETWORK ||
if (vif->nw_type != ADHOC_NETWORK)