update driver
This commit is contained in:
parent
6675a67271
commit
96dfe9517c
5 changed files with 5 additions and 5 deletions
Binary file not shown.
|
@ -218,7 +218,7 @@ struct hgic_bus {
|
||||||
#define _KERNEL_READ(fp, buff, size) kernel_read(fp, 0, buff, size)
|
#define _KERNEL_READ(fp, buff, size) kernel_read(fp, 0, buff, size)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)
|
||||||
#define setup_timer(a, b, c) timer_setup(a, b, 0)
|
#define setup_timer(a, b, c) timer_setup(a, b, 0)
|
||||||
#define init_timer(...)
|
#define init_timer(...)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -852,7 +852,7 @@ static void hgicf_detect_work(struct work_struct *work)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(__RTOS__) && LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0)
|
#if !defined(__RTOS__) && LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)
|
||||||
static void hgicf_detect_timer(struct timer_list *t)
|
static void hgicf_detect_timer(struct timer_list *t)
|
||||||
{
|
{
|
||||||
struct hgicf_wdev *hg = from_timer(hg, t, detect_tmr);
|
struct hgicf_wdev *hg = from_timer(hg, t, detect_tmr);
|
||||||
|
|
|
@ -608,9 +608,9 @@ int hgic_iwpriv_set_reassoc_wkhost(char *ifname, int enable)
|
||||||
{
|
{
|
||||||
return hgic_iwpriv_set_int(ifname, "reassoc_wkhost", enable);
|
return hgic_iwpriv_set_int(ifname, "reassoc_wkhost", enable);
|
||||||
}
|
}
|
||||||
int hgic_iwpriv_set_wakeup_io(char *ifname, int wakeup_io)
|
int hgic_iwpriv_set_wakeup_io(char *ifname, int wakeup_io, int edge)
|
||||||
{
|
{
|
||||||
return hgic_iwpriv_set_int(ifname, "wakeup_io", wakeup_io);
|
return hgic_iwpriv_set_ints(ifname, "wakeup_io", 2, wakeup_io, edge);
|
||||||
}
|
}
|
||||||
int hgic_iwpriv_set_dbginfo(char *ifname, int enable)
|
int hgic_iwpriv_set_dbginfo(char *ifname, int enable)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define SVN_VERSION "24338"
|
#define SVN_VERSION "25328"
|
||||||
|
|
Loading…
Reference in a new issue