mac80211: apply network interface configuration for adhoc + wpa2

Backport of r35049

git-svn-id: file:///usr/src/openwrt/original-sources/openwrt-svn-sync/branches/attitude_adjustment@35050 3170ec73-1289-4ace-a40b-60dbfcaafe5c