madwifi: fix crash on ad-hoc interface init