commit | 3647268dedfe95945be05c9dde2bdbda7cfc6e91 | [log] [tgz] |
---|---|---|
author | Hauke Mehrtens <hauke@hauke-m.de> | Sun Sep 15 22:49:08 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 16 21:30:59 2013 -0400 |
tree | 2e3aad83509bf0d8275fa5b78d3e5f99ac5853e2 | |
parent | 6a391e7bf26c04a6df5f77290e1146941d210d49 [diff] |
bgmac: allow bigger et_swtype nvram variable Without this patch it is impossible to read et_swtype, because the 1 byte space is needed for the terminating null byte. The max expected value is 0xF, so now it should be possible to read decimal form ("15") and hex form ("0xF"). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>