FS-5292 gsmopen: patch from garmt