Omnia 5GHz WiFi kmod crashes

[876581.955258] [<c041a510>] (dev_close_many) from [<c041e3a8>] (dev_close.part.8+0x38/0x50)
[876581.955260]  r8:00000000 r7:ed638ba0 r6:ed638000 r5:ed638b58 r4:ed422488
[876581.955270] [<c041e370>] (dev_close.part.8) from [<c041e3dc>] (dev_close+0x1c/0x24)
[876581.955289] [<c041e3c0>] (dev_close) from [<bf66a848>] (cfg80211_shutdown_all_interfaces+0x44/0xc8 [cfg80211])
[876581.955328] [<bf66a804>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf6d95b4>] (ieee80211_queue_delayed_work+0x124/0x128 [mac80211])
[876581.955331]  r6:ed639370 r5:ed63937c r4:ed638ba0 r3:00000001
[876581.955383] [<bf6d94ec>] (ieee80211_queue_delayed_work [mac80211]) from [<bf6db848>] (ieee80211_reconfig+0x2d4/0xae4 [mac80211])
[876581.955386]  r6:ed638ba0 r5:ffffff92 r4:ed639230 r3:00000200
[876581.955435] [<bf6db574>] (ieee80211_reconfig [mac80211]) from [<bf6ac1ac>] (ieee80211_restart_work+0x8c/0xb8 [mac80211])
[876581.955438]  r10:eedd7640 r9:00000000 r8:00000000 r7:ed638ba0 r6:ed638ba0 r5:ed639230
[876581.955446]  r4:ed639230
[876581.955472] [<bf6ac120>] (ieee80211_restart_work [mac80211]) from [<c003e20c>] (process_one_work+0x140/0x358)
[876581.955476]  r7:eeddd200 r6:eedd7640 r5:ed6394dc r4:ead54b00
[876581.955485] [<c003e0cc>] (process_one_work) from [<c003e478>] (worker_thread+0x54/0x520)
[876581.955488]  r10:eedd7640 r9:00000008 r8:d13b4020 r7:ead54b18 r6:eedd7654 r5:eedd7640
[876581.955496]  r4:ead54b00
[876581.955502] [<c003e424>] (worker_thread) from [<c0043898>] (kthread+0xf0/0x104)
[876581.955504]  r10:00000000 r9:00000000 r8:00000000 r7:c003e424 r6:ead54b00 r5:00000000
[876581.955512]  r4:c741e840
[876581.955518] [<c00437a8>] (kthread) from [<c0009db8>] (ret_from_fork+0x14/0x3c)
[876581.955521]  r7:00000000 r6:00000000 r5:c00437a8 r4:c741e840
[876581.955527] ---[ end trace 07c7d97f1351e059 ]---
[876581.955531] wlan0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
[876581.963202] ------------[ cut here ]------------
[876581.963238] WARNING: CPU: 1 PID: 29719 at /home/beast/beast/workspace/omnia-master/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.11_eabi/linux-mvebu/compat-wireless-2016-10-08/net/mac80211/driver-ops.h:17 drv_remove_interface+0x6c/0x70 [mac80211]()
[876581.963246] wlan0:  Failed check-sdata-in-driver check, flags: 0x9
[876581.963253] Modules linked in: qcserial option iptable_nat ath9k usb_wwan rndis_host qmi_wwan pppoe nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cdc_ether ath9k_common xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_kmp ts_fsm ts_bm pppox ppp_mppe ppp_async nfnetlink nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast nf_conntrack mvsdio iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt cdc_wdm ath9k_hw armada_thermal fuse sch_teql sch_tbf sch_sfq sch_red sch_prio sch_pie sch_netem sch_htb sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp cls_basic act_police act_ipt act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ledtrig_usbdev ledtrig_oneshot xt_LED ledtrig_morse ledtrig_heartbeat ledtrig_gpio ath10k_pci ath10k_core thermal_sys hwmon ath mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc nfsd nfsv3 nfs msdos ip_gre gre ifb sit ip6_tunnel tunnel6 tunnel4 ip_tunnel veth tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore rxkad vfat fat udf crc_itu_t ntfs lockd sunrpc grace minix isofs hfsplus hfs cramfs configfs cifs autofs4 kafs af_rxrpc dns_resolver dm_crypt dm_mirror dm_region_hash dm_log dm_mod br2684 atm multipath fscache raid456 async_raid6_recov async_pq async_xor async_memcpy async_tx raid10 raid1 raid0 linear md_mod nls_utf8 nls_koi8_r nls_cp1255 nls_iso8859_6 nls_iso8859_2 nls_iso8859_15 nls_iso8859_13 nls_iso8859_1 nls_cp932 nls_cp866 nls_cp864 nls_cp862 nls_cp852 nls_cp850 nls_cp775 nls_cp437 nls_cp1251 nls_cp1250 xts algif_skcipher algif_hash af_alg sha512_generic sha256_generic sha1_generic seqiv jitterentropy_rng drbg pcbc md5 md4 marvell_cesa hmac gf128mul fcrypt ecb des_generic ctr cmac ccm cbc authenc usb_storage xhci_plat_hcd xhci_pci xhci_hcd orion_wdt uhci_hcd ledtrig_transient ahci_mvebu ahci ehci_orion ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod xfs libcrc32c jfs f2fs exfat usbcore nls_base usb_common mii aead crypto_null
[876581.963690] CPU: 1 PID: 29719 Comm: kworker/1:0 Tainted: G        W       4.4.38-efe609c5e5f25db4116d69128330872c-1 #1
[876581.963694] Hardware name: Marvell Armada 380/385 (Device Tree)
[876581.963723] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[876581.963726] Backtrace: 
[876581.963733] [<c001c550>] (dump_backtrace) from [<c001c740>] (show_stack+0x18/0x1c)
[876581.963736]  r6:00000000 r5:60000013 r4:c06a6224 r3:c069ed70
[876581.963746] [<c001c728>] (show_stack) from [<c02e7b70>] (dump_stack+0x98/0xac)
[876581.963753] [<c02e7ad8>] (dump_stack) from [<c0028f84>] (warn_slowpath_common+0x8c/0xbc)
[876581.963755]  r6:00000011 r5:bf6af004 r4:d13b5d10 r3:c069ed70
[876581.963764] [<c0028ef8>] (warn_slowpath_common) from [<c0028fec>] (warn_slowpath_fmt+0x38/0x40)
[876581.963767]  r8:00000000 r7:ed422480 r6:ed638c3c r5:ed638ba0 r4:ed422480
[876581.963798] [<c0028fb8>] (warn_slowpath_fmt) from [<bf6af004>] (drv_remove_interface+0x6c/0x70 [mac80211])
[876581.963801]  r3:ed422000 r2:bf703a58
[876581.963848] [<bf6aef98>] (drv_remove_interface [mac80211]) from [<bf6c0774>] (ieee80211_add_virtual_monitor+0x744/0x9a0 [mac80211])
[876581.963851]  r4:ed42304c
[876581.963897] [<bf6c0218>] (ieee80211_add_virtual_monitor [mac80211]) from [<bf6c09e8>] (ieee80211_stop+0x18/0x20 [mac80211])
[876581.963901]  r10:eedd7640 r9:00000000 r8:00000001 r7:d13b5e08 r6:ed638000 r5:d13b5e08
[876581.963909]  r4:ed422000
[876581.963935] [<bf6c09d0>] (ieee80211_stop [mac80211]) from [<c041a4c8>] (__dev_close_many+0x90/0xd8)
[876581.963941] [<c041a438>] (__dev_close_many) from [<c041a584>] (dev_close_many+0x74/0xf8)
[876581.963944]  r5:ed638b58 r4:ed422488
[876581.963950] [<c041a510>] (dev_close_many) from [<c041e3a8>] (dev_close.part.8+0x38/0x50)
[876581.963953]  r8:00000000 r7:ed638ba0 r6:ed638000 r5:ed638b58 r4:ed422488
[876581.963963] [<c041e370>] (dev_close.part.8) from [<c041e3dc>] (dev_close+0x1c/0x24)
[876581.963983] [<c041e3c0>] (dev_close) from [<bf66a848>] (cfg80211_shutdown_all_interfaces+0x44/0xc8 [cfg80211])
[876581.964021] [<bf66a804>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf6d95b4>] (ieee80211_queue_delayed_work+0x124/0x128 [mac80211])
[876581.964024]  r6:ed639370 r5:ed63937c r4:ed638ba0 r3:00000001
[876581.964077] [<bf6d94ec>] (ieee80211_queue_delayed_work [mac80211]) from [<bf6db848>] (ieee80211_reconfig+0x2d4/0xae4 [mac80211])
[876581.964081]  r6:ed638ba0 r5:ffffff92 r4:ed639230 r3:00000200
[876581.964131] [<bf6db574>] (ieee80211_reconfig [mac80211]) from [<bf6ac1ac>] (ieee80211_restart_work+0x8c/0xb8 [mac80211])
[876581.964134]  r10:eedd7640 r9:00000000 r8:00000000 r7:ed638ba0 r6:ed638ba0 r5:ed639230
[876581.964142]  r4:ed639230
[876581.964168] [<bf6ac120>] (ieee80211_restart_work [mac80211]) from [<c003e20c>] (process_one_work+0x140/0x358)
[876581.964171]  r7:eeddd200 r6:eedd7640 r5:ed6394dc r4:ead54b00
[876581.964181] [<c003e0cc>] (process_one_work) from [<c003e478>] (worker_thread+0x54/0x520)
[876581.964183]  r10:eedd7640 r9:00000008 r8:d13b4020 r7:ead54b18 r6:eedd7654 r5:eedd7640
[876581.964191]  r4:ead54b00
[876581.964197] [<c003e424>] (worker_thread) from [<c0043898>] (kthread+0xf0/0x104)
[876581.964200]  r10:00000000 r9:00000000 r8:00000000 r7:c003e424 r6:ead54b00 r5:00000000
[876581.964208]  r4:c741e840
[876581.964214] [<c00437a8>] (kthread) from [<c0009db8>] (ret_from_fork+0x14/0x3c)
[876581.964216]  r7:00000000 r6:00000000 r5:c00437a8 r4:c741e840
[876581.964223] ---[ end trace 07c7d97f1351e05a ]---
[876581.964230] ------------[ cut here ]------------
[876581.964258] WARNING: CPU: 1 PID: 29719 at /home/beast/beast/workspace/omnia-master/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.11_eabi/linux-mvebu/compat-wireless-2016-10-08/net/mac80211/driver-ops.c:39 drv_stop+0xa0/0xa4 [mac80211]()
[876581.964261] Modules linked in: qcserial option iptable_nat ath9k usb_wwan rndis_host qmi_wwan pppoe nf_nat_pptp nf_nat_ipv4 nf_nat_amanda nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_ipv6 nf_conntrack_ipv4 nf_conntrack_amanda ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cdc_ether ath9k_common xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_kmp ts_fsm ts_bm pppox ppp_mppe ppp_async nfnetlink nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast nf_conntrack mvsdio iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt cdc_wdm ath9k_hw armada_thermal fuse sch_teql sch_tbf sch_sfq sch_red sch_prio sch_pie sch_netem sch_htb sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp cls_basic act_police act_ipt act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ledtrig_usbdev ledtrig_oneshot xt_LED ledtrig_morse ledtrig_heartbeat ledtrig_gpio ath10k_pci ath10k_core thermal_sys hwmon ath mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc nfsd nfsv3 nfs msdos ip_gre gre ifb sit ip6_tunnel tunnel6 tunnel4 ip_tunnel veth tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd input_core soundcore rxkad vfat fat udf crc_itu_t ntfs lockd sunrpc grace minix isofs hfsplus hfs cramfs configfs cifs autofs4 kafs af_rxrpc dns_resolver dm_crypt dm_mirror dm_region_hash dm_log dm_mod br2684 atm multipath fscache raid456 async_raid6_recov async_pq async_xor async_memcpy async_tx raid10 raid1 raid0 linear md_mod nls_utf8 nls_koi8_r nls_cp1255 nls_iso8859_6 nls_iso8859_2 nls_iso8859_15 nls_iso8859_13 nls_iso8859_1 nls_cp932 nls_cp866 nls_cp864 nls_cp862 nls_cp852 nls_cp850 nls_cp775 nls_cp437 nls_cp1251 nls_cp1250 xts algif_skcipher algif_hash af_alg sha512_generic sha256_generic sha1_generic seqiv jitterentropy_rng drbg pcbc md5 md4 marvell_cesa hmac gf128mul fcrypt ecb des_generic ctr cmac ccm cbc authenc usb_storage xhci_plat_hcd xhci_pci xhci_hcd orion_wdt uhci_hcd ledtrig_transient ahci_mvebu ahci ehci_orion ehci_platform ehci_hcd sd_mod ahci_platform libahci_platform libahci libata scsi_mod xfs libcrc32c jfs f2fs exfat usbcore nls_base usb_common mii aead crypto_null
[876581.964570] CPU: 1 PID: 29719 Comm: kworker/1:0 Tainted: G        W       4.4.38-efe609c5e5f25db4116d69128330872c-1 #1
[876581.964573] Hardware name: Marvell Armada 380/385 (Device Tree)
[876581.964599] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[876581.964602] Backtrace: 
[876581.964608] [<c001c550>] (dump_backtrace) from [<c001c740>] (show_stack+0x18/0x1c)
[876581.964611]  r6:00000000 r5:60000013 r4:c06a6224 r3:c069ed70
[876581.964621] [<c001c728>] (show_stack) from [<c02e7b70>] (dump_stack+0x98/0xac)
[876581.964627] [<c02e7ad8>] (dump_stack) from [<c0028f84>] (warn_slowpath_common+0x8c/0xbc)
[876581.964630]  r6:00000027 r5:bf6aeeb0 r4:00000000 r3:c069ed70
[876581.964639] [<c0028ef8>] (warn_slowpath_common) from [<c0029058>] (warn_slowpath_null+0x24/0x2c)
[876581.964642]  r8:00000000 r7:ed422480 r6:ed638c3c r5:ed638ba0 r4:ed638ba0
[876581.964672] [<c0029034>] (warn_slowpath_null) from [<bf6aeeb0>] (drv_stop+0xa0/0xa4 [mac80211])
[876581.964719] [<bf6aee10>] (drv_stop [mac80211]) from [<bf6db570>] (ieee80211_stop_device+0x40/0x44 [mac80211])
[876581.964722]  r4:ed638ba0 r3:00000001
[876581.964770] [<bf6db530>] (ieee80211_stop_device [mac80211]) from [<bf6c0754>] (ieee80211_add_virtual_monitor+0x724/0x9a0 [mac80211])
[876581.964774]  r4:ed42304c r3:00000000
[876581.964820] [<bf6c0218>] (ieee80211_add_virtual_monitor [mac80211]) from [<bf6c09e8>] (ieee80211_stop+0x18/0x20 [mac80211])
[876581.964823]  r10:eedd7640 r9:00000000 r8:00000001 r7:d13b5e08 r6:ed638000 r5:d13b5e08
[876581.964832]  r4:ed422000
[876581.964858] [<bf6c09d0>] (ieee80211_stop [mac80211]) from [<c041a4c8>] (__dev_close_many+0x90/0xd8)
[876581.964863] [<c041a438>] (__dev_close_many) from [<c041a584>] (dev_close_many+0x74/0xf8)
[876581.964866]  r5:ed638b58 r4:ed422488
[876581.964873] [<c041a510>] (dev_close_many) from [<c041e3a8>] (dev_close.part.8+0x38/0x50)
[876581.964876]  r8:00000000 r7:ed638ba0 r6:ed638000 r5:ed638b58 r4:ed422488
[876581.964886] [<c041e370>] (dev_close.part.8) from [<c041e3dc>] (dev_close+0x1c/0x24)
[876581.964905] [<c041e3c0>] (dev_close) from [<bf66a848>] (cfg80211_shutdown_all_interfaces+0x44/0xc8 [cfg80211])
[876581.964943] [<bf66a804>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf6d95b4>] (ieee80211_queue_delayed_work+0x124/0x128 [mac80211])
[876581.964947]  r6:ed639370 r5:ed63937c r4:ed638ba0 r3:00000001
[876581.965000] [<bf6d94ec>] (ieee80211_queue_delayed_work [mac80211]) from [<bf6db848>] (ieee80211_reconfig+0x2d4/0xae4 [mac80211])
[876581.965003]  r6:ed638ba0 r5:ffffff92 r4:ed639230 r3:00000200
[876581.965051] [<bf6db574>] (ieee80211_reconfig [mac80211]) from [<bf6ac1ac>] (ieee80211_restart_work+0x8c/0xb8 [mac80211])
[876581.965054]  r10:eedd7640 r9:00000000 r8:00000000 r7:ed638ba0 r6:ed638ba0 r5:ed639230
[876581.965062]  r4:ed639230
[876581.965087] [<bf6ac120>] (ieee80211_restart_work [mac80211]) from [<c003e20c>] (process_one_work+0x140/0x358)
[876581.965090]  r7:eeddd200 r6:eedd7640 r5:ed6394dc r4:ead54b00
[876581.965100] [<c003e0cc>] (process_one_work) from [<c003e478>] (worker_thread+0x54/0x520)
[876581.965102]  r10:eedd7640 r9:00000008 r8:d13b4020 r7:ead54b18 r6:eedd7654 r5:eedd7640
[876581.965110]  r4:ead54b00
[876581.965116] [<c003e424>] (worker_thread) from [<c0043898>] (kthread+0xf0/0x104)
[876581.965118]  r10:00000000 r9:00000000 r8:00000000 r7:c003e424 r6:ead54b00 r5:00000000
[876581.965126]  r4:c741e840
[876581.965132] [<c00437a8>] (kthread) from [<c0009db8>] (ret_from_fork+0x14/0x3c)
[876581.965134]  r7:00000000 r6:00000000 r5:c00437a8 r4:c741e840
[876581.965141] ---[ end trace 07c7d97f1351e05b ]---
[876581.965354] br-lan: port 4(wlan0) entered disabled state

Linux turris 4.4.38-efe609c5e5f25db4116d69128330872c-1 #1 SMP Mon Dec 19 05:02:21 CET 2016 armv7l n

This is not the first time I saw this, previously it led to a restart.

Note that this happens intermitted, I’ve seen this happening for the 5th time now in the past 3 months.