mac80211: fix panic when using hardware WEP