madwifi: add some extra sanity checking