These changes are based on the similar modifications made by Stefan Lippers-Hollmann for the rtl8192du driver. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>