Kernel oops when trying to connect to wifi or ethernet

Hi all,
I’m getting below crash whenever i try to connect to either ethernet or wifi,even-then wifi and ethernet is working fine. But why is this happening.its ubuntu based kernel.can anyone help me to get rid to this.Thanks in advance

[ 52.441752] A link change request failed with some changes committed already. Interface wlan0 may have been left with an inconsistent configuration, please check.
[ 54.329166] systemd[1]: snap-repair.timer: Adding 1h 4min 31.133218s random time.
[ 54.329212] systemd[1]: snap-repair.timer: Adding 1h 48min 6.589000s random time.
[ 54.732716] systemd[1]: snap-repair.timer: Adding 17min 43.233820s random time.
[ 54.732764] systemd[1]: snap-repair.timer: Adding 1h 44min 5.162783s random time.
[ 89.509587] DEBUG_LOCKS_WARN_ON(l->magic != l)
[ 89.509712] ------------[ cut here ]------------
[ 89.513109] WARNING: at kernel/locking/mutex.c:529
[ 89.517781] Modules linked in: wcn36xx smsc75xx wcn36xx_platform squashfs

[ 89.529241] CPU: 0 PID: 3057 Comm: netplan Not tainted 4.4.21-96boards+ #1
[ 89.530806] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC (DT)
[ 89.537490] task: ffffffc033898000 ti: ffffffc031210000 task.ti: ffffffc031210000
[ 89.544353] PC is at mutex_lock_nested+0x370/0x3a8
[ 89.551724] LR is at mutex_lock_nested+0x370/0x3a8
[ 89.556411] pc : [] lr : [] pstate: 600001c5
[ 89.561188] sp : ffffffc0312139d0
[ 89.568735] x29: ffffffc0312139d0 x28: ffffffc0318578d8
[ 89.577064] x27: ffffffc03108d808 x26: 0000000000000001
[ 89.582360] x25: ffffffc033898000 x24: ffffffc03108ce30
[ 89.587654] x23: ffffffc001aa6000 x22: ffffffc03108d808
[ 89.592949] x21: 0000000000000140 x20: ffffffc03108e2f8
[ 89.598244] x19: ffffffc03108e300 x18: 0000000000000000
[ 89.603540] x17: 000000000000964c x16: 0000000000009646
[ 89.608834] x15: 0000000000000010 x14: ffffffc081aa6497
[ 89.614129] x13: ffffffc031852e50 x12: ffffffc000939638
[ 89.619426] x11: 0000000000010101 x10: 0000000000000031
[ 89.624720] x9 : 000000000000000d x8 : 000000000000023c
[ 89.630015] x7 : 0000000000000001 x6 : ffffffc00010f9f0
[ 89.635310] x5 : 0000000000000000 x4 : 0000000000000001
[ 89.640606] x3 : 0000000000000000 x2 : 0000000000000000
[ 89.645901] x1 : ffffffc033898000 x0 : 0000000000000022

[ 89.651371] —[ end trace 703b327ed1943d14 ]—
[ 89.652939] Call trace:
[ 89.657539] [] mutex_lock_nested+0x370/0x3a8
[ 89.659738] [] wcn36xx_smd_delete_sta_self+0x28/0xf0 [wcn36xx]
[ 89.665638] [] wcn36xx_remove_interface+0x4c/0x78 [wcn36xx]
[ 89.673170] [] drv_remove_interface+0x28/0x70
[ 89.680202] [] ieee80211_do_stop+0x488/0x6f8
[ 89.685929] [] ieee80211_stop+0x14/0x20
[ 89.691830] [] __dev_close_many+0x84/0xd0
[ 89.697298] [] dev_close_many+0x74/0xf8
[ 89.702681] [] dev_close.part.15+0x28/0x40
[ 89.708236] [] dev_close+0x1c/0x28
[ 89.713965] [] cfg80211_shutdown_all_interfaces+0x3c/0xb8
[ 89.718915] [] ieee80211_remove_interfaces+0x3c/0x1c0
[ 89.725599] [] ieee80211_unregister_hw+0x44/0x100
[ 89.732215] [] wcn36xx_remove+0x38/0x78 [wcn36xx]
[ 89.738446] [] platform_drv_remove+0x24/0x58
[ 89.744697] [] __device_release_driver+0x80/0x108
[ 89.750600] [] device_release_driver+0x28/0x40
[ 89.756763] [] unbind_store+0xec/0x110
[ 89.763013] [] drv_attr_store+0x20/0x30
[ 89.768307] [] sysfs_kf_write+0x60/0x70
[ 89.773601] [] kernfs_fop_write+0x15c/0x1a0
[ 89.778985] [] __vfs_write+0x18/0x40
[ 89.784711] [] vfs_write+0x90/0x1b8
[ 89.789746] [] SyS_write+0x44/0xa0
[ 89.794869] [] el0_svc_naked+0x24/0x28

Hi

This does not give much info to suggest, which board/release are you using?

Hi sorry for delay,
I’m using dragonboard 410c and using ubuntu kernel from below link
http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/tree/?h=snapdragon

Thanks

im closing this thread here as i not getting this error with latest commit

Thanks