modified version of http://patchwork.openwrt.org/patch/4533/ Signed-off-by: John Crispin <[email protected]> SVN-Revision: 40954