sicslowpan doesn't need to remember the mac driver
This commit is contained in:
parent
e6819effef
commit
598dcc110c
|
@ -179,9 +179,6 @@ void uip_log(char *msg);
|
||||||
/** \name General variables
|
/** \name General variables
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
/** A pointer to the mac driver */
|
|
||||||
const struct mac_driver *sicslowpan_mac;
|
|
||||||
|
|
||||||
#ifdef SICSLOWPAN_NH_COMPRESSOR
|
#ifdef SICSLOWPAN_NH_COMPRESSOR
|
||||||
/** A pointer to the additional compressor */
|
/** A pointer to the additional compressor */
|
||||||
extern struct sicslowpan_nh_compressor SICSLOWPAN_NH_COMPRESSOR;
|
extern struct sicslowpan_nh_compressor SICSLOWPAN_NH_COMPRESSOR;
|
||||||
|
@ -1766,9 +1763,6 @@ input(void)
|
||||||
void
|
void
|
||||||
sicslowpan_init(void)
|
sicslowpan_init(void)
|
||||||
{
|
{
|
||||||
/* remember the mac driver */
|
|
||||||
sicslowpan_mac = &NETSTACK_MAC;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set out output function as the function to be called from uIP to
|
* Set out output function as the function to be called from uIP to
|
||||||
* send a packet.
|
* send a packet.
|
||||||
|
|
|
@ -321,6 +321,5 @@ struct sicslowpan_nh_compressor {
|
||||||
|
|
||||||
extern const struct network_driver sicslowpan_driver;
|
extern const struct network_driver sicslowpan_driver;
|
||||||
|
|
||||||
extern const struct mac_driver *sicslowpan_mac;
|
|
||||||
#endif /* __SICSLOWPAN_H__ */
|
#endif /* __SICSLOWPAN_H__ */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
Loading…
Reference in a new issue