madwifi: fix a few locking mistakes