Skip to content

Commit

Permalink
caif: Use RCU and lists in cfcnfg.c for managing caif link layers
Browse files Browse the repository at this point in the history
RCU lists are used for handling the link layers instead of array.
When generating CAIF phy-id, ifindex is used as base. Legal range is 1-6.
Introduced set_phy_state() for managing CAIF Link layer state.

Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
sjur.brandeland@stericsson.com authored and David S. Miller committed May 15, 2011
1 parent bd30ce4 commit f362144
Showing 1 changed file with 213 additions and 160 deletions.
Loading

0 comments on commit f362144

Please sign in to comment.