mac802154: Handle basic beaconing
[linux-2.6-block.git] / net / mac802154 / main.c
index b1111279e06d85fe62d2a954111b446859a77fca..ee23e234b998b3e7fff3c1d34f06461511e4cb61 100644 (file)
@@ -99,6 +99,7 @@ ieee802154_alloc_hw(size_t priv_data_len, const struct ieee802154_ops *ops)
        INIT_WORK(&local->sync_tx_work, ieee802154_xmit_sync_worker);
        INIT_DELAYED_WORK(&local->scan_work, mac802154_scan_worker);
        INIT_WORK(&local->rx_beacon_work, mac802154_rx_beacon_worker);
+       INIT_DELAYED_WORK(&local->beacon_work, mac802154_beacon_worker);
 
        /* init supported flags with 802.15.4 default ranges */
        phy->supported.max_minbe = 8;