• John W. Linville's avatar
    libertas: fix build break by including linux/sched.h · a9fda88b
    John W. Linville authored
      CC [M]  drivers/net/wireless/libertas/cfg.o
    /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c: In function ‘lbs_scan_worker’:
    /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:722: error: ‘TASK_NORMAL’ undeclared (first use in this function)
    /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:722: error: (Each undeclared identifier is reported only once
    /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:722: error: for each function it appears in.)
    /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c: In function ‘lbs_cfg_connect’:
    /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:1267: error: ‘TASK_INTERRUPTIBLE’ undeclared (first use in this function)
    /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration of function ‘signal_pending’
    /home/greearb/git/wireless-testing/drivers/net/wireless/libertas/cfg.c:1267: error: implicit declaration of function ‘schedule_timeout’
    Reported-by: default avatarBen Greear <greearb@candelatech.com>
    Reported-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    a9fda88b
cfg.c 52.2 KB