Kalle Valo says:
[linux-block.git] / drivers / net / wireless / ti / wlcore / main.c
index 3e3922d4c78801d6b50fd2ea538791e0cf0df398..bf21611872a3c1ac81438a72439d694933083ef7 100644 (file)
@@ -5942,6 +5942,7 @@ static const struct ieee80211_ops wl1271_ops = {
        .prepare_multicast = wl1271_op_prepare_multicast,
        .configure_filter = wl1271_op_configure_filter,
        .tx = wl1271_op_tx,
+       .wake_tx_queue = ieee80211_handle_wake_tx_queue,
        .set_key = wlcore_op_set_key,
        .hw_scan = wl1271_op_hw_scan,
        .cancel_hw_scan = wl1271_op_cancel_hw_scan,
@@ -6100,7 +6101,7 @@ static int wl1271_register_hw(struct wl1271 *wl)
                        wl1271_warning("Fuse mac address is zero. using random mac");
                        /* Use TI oui and a random nic */
                        oui_addr = WLCORE_TI_OUI_ADDRESS;
-                       nic_addr = get_random_int();
+                       nic_addr = get_random_u32();
                } else {
                        oui_addr = wl->fuse_oui_addr;
                        /* fuse has the BD_ADDR, the WLAN addresses are the next two */