Applied patch from http://proxmark.org/forum/viewtopic.php?id=1911 by user midnitesnake

git-svn-id: http://proxmark3.googlecode.com/svn@851 ef4ab9da-24cd-11de-8aaa-f3a34680c41f