diff options
author | Sjur Braendeland <sjur.brandeland@stericsson.com> | 2010-06-17 02:55:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-20 22:46:05 -0400 |
commit | a7da1f55a826c621251874e7684c234972fc3216 (patch) | |
tree | e5c66620b9cfe00ed62233665002a0acf5fc1004 /net/caif/cfcnfg.c | |
parent | b1c74247b9e29ae3bfdf133862328c309bc9cf14 (diff) |
caif: Bugfix - RFM must support segmentation.
CAIF Remote File Manager may send or receive more than 4050 bytes.
Due to this The CAIF RFM service have to support segmentation.
Signed-off-by: Sjur Braendeland@stericsson.com
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/cfcnfg.c')
-rw-r--r-- | net/caif/cfcnfg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/caif/cfcnfg.c b/net/caif/cfcnfg.c index 7c81974a45c4..cff2dcb9efe4 100644 --- a/net/caif/cfcnfg.c +++ b/net/caif/cfcnfg.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #define PHY_NAME_LEN 20 | 22 | #define PHY_NAME_LEN 20 |
23 | 23 | ||
24 | #define container_obj(layr) container_of(layr, struct cfcnfg, layer) | 24 | #define container_obj(layr) container_of(layr, struct cfcnfg, layer) |
25 | #define RFM_FRAGMENT_SIZE 4030 | ||
25 | 26 | ||
26 | /* Information about CAIF physical interfaces held by Config Module in order | 27 | /* Information about CAIF physical interfaces held by Config Module in order |
27 | * to manage physical interfaces | 28 | * to manage physical interfaces |
@@ -328,7 +329,8 @@ cfcnfg_linkup_rsp(struct cflayer *layer, u8 channel_id, enum cfctrl_srv serv, | |||
328 | servicel = cfdgml_create(channel_id, &phyinfo->dev_info); | 329 | servicel = cfdgml_create(channel_id, &phyinfo->dev_info); |
329 | break; | 330 | break; |
330 | case CFCTRL_SRV_RFM: | 331 | case CFCTRL_SRV_RFM: |
331 | servicel = cfrfml_create(channel_id, &phyinfo->dev_info); | 332 | servicel = cfrfml_create(channel_id, &phyinfo->dev_info, |
333 | RFM_FRAGMENT_SIZE); | ||
332 | break; | 334 | break; |
333 | case CFCTRL_SRV_UTIL: | 335 | case CFCTRL_SRV_UTIL: |
334 | servicel = cfutill_create(channel_id, &phyinfo->dev_info); | 336 | servicel = cfutill_create(channel_id, &phyinfo->dev_info); |