wifi: fixup mode compatibility for IBSS

fix the wifi build errors

Change-Id: Ic5d7b042332b51ae52c82d1ce5668f6ef993ae01