Search Linux Wireless

Re: [PATCH 1/3] iwlwifi: move rx handlers code to iwl-rx.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This fixes the error for me.
Dan

index 7dc2d39..e3ba4d5 100644
--- a/drivers/net/wireless/iwlwifi/iwl-rx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-rx.c
@@ -30,6 +30,7 @@
 #include <linux/etherdevice.h>
 #include <linux/slab.h>
 #include <net/mac80211.h>
+#include <linux/sched.h>
 #include <asm/unaligned.h>
 #include "iwl-eeprom.h"
 #include "iwl-dev.h"
-- 
1.7.0.4



On Sun, Mar 6, 2011 at 1:34 PM, Guy, Wey-Yi <wey-yi.w.guy@xxxxxxxxx> wrote:
> Hi Stanislaw,
>
> On Fri, 2011-03-04 at 08:51 -0800, Stanislaw Gruszka wrote:
>> Put generic rx_handlers (except iwlagn_rx_reply_compressed_ba) to
>> iwl-rx.c . Make functions static and change prefix from iwlagn_ to
>> iwl_ . Beautify iwl_setup_rx_handlers and do some other minor coding
>> style changes.
>>
>> Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx>
>> ---
> this patch break the compiling
>
> drivers/net/wireless/iwlwifi/iwl-rx.c:778:17: error: undefined
> identifier 'TASK_INTERRUPTIBLE'
>  CC [M]  drivers/net/wireless/iwlwifi/iwl-rx.o
> drivers/net/wireless/iwlwifi/iwl-rx.c: In function
> ‘iwl_rx_card_state_notif’:
> drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: ‘TASK_INTERRUPTIBLE’
> undeclared (first use in this function)
> drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: (Each undeclared
> identifier is reported only once
> drivers/net/wireless/iwlwifi/iwl-rx.c:778: error: for each function it
> appears in.)
> make[1]: *** [drivers/net/wireless/iwlwifi/iwl-rx.o] Error 1
> make: *** [_module_drivers/net/wireless/iwlwifi] Error 2
>
>
> Thanks
> Wey
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux