net: wireless: fix warnings when wlan driver is enabled/disabled

Change-Id: I4b6ea79f4e62bcddc3ae4c7481ded7e3203d8f02
Signed-off-by: Randolf Kastenmaier <randolf.kastenmaier@gmail.com>