[PATCH 5.1 122/405] mwifiex: prevent an array overflow