diff options
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_rx.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_rx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_rx.c b/drivers/net/wireless/wl12xx/wl1251_rx.c index b56732226cc..1b6294b3b99 100644 --- a/drivers/net/wireless/wl12xx/wl1251_rx.c +++ b/drivers/net/wireless/wl12xx/wl1251_rx.c @@ -23,6 +23,7 @@ */ #include <linux/skbuff.h> +#include <linux/gfp.h> #include <net/mac80211.h> #include "wl1251.h" @@ -77,7 +78,7 @@ static void wl1251_rx_status(struct wl1251 *wl, * FIXME: guessing that snr needs to be divided by two, otherwise * the values don't make any sense */ - status->noise = desc->rssi - desc->snr / 2; + wl->noise = desc->rssi - desc->snr / 2; status->freq = ieee80211_channel_to_frequency(desc->channel); @@ -188,6 +189,4 @@ void wl1251_rx(struct wl1251 *wl) /* Finally, we need to ACK the RX */ wl1251_rx_ack(wl); - - return; } |