commit | ba81ab329ccaff7fe7632eef047fb1b3fa81f760 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Jul 26 17:56:55 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Jul 26 17:56:55 2010 +0800 |
tree | e132d8f311257a8faeb49c33a78139f19e71fe90 | |
parent | 6a4b362ceb7dd1742de2d1ffebadf1846634a3af [diff] |
gsm_04_80: Use the return value of gsm_7bit_encode as length Use the idiom msgb_put(msg, 0) to get the data pointer, then encode the string into the msgb and then adjust the size.