{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/1384","repository_url":"https://api.github.com/repos/raspberrypi/linux","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/1384/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/1384/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/1384/events","html_url":"https://github.com/raspberrypi/linux/issues/1384","id":144291538,"number":1384,"title":"RPI-3 brmfmac driver - Kernel trace while setting up Ad-hoc mode","user":{"login":"s13884","id":18145859,"avatar_url":"https://avatars.githubusercontent.com/u/18145859?v=3","gravatar_id":"","url":"https://api.github.com/users/s13884","html_url":"https://github.com/s13884","followers_url":"https://api.github.com/users/s13884/followers","following_url":"https://api.github.com/users/s13884/following{/other_user}","gists_url":"https://api.github.com/users/s13884/gists{/gist_id}","starred_url":"https://api.github.com/users/s13884/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s13884/subscriptions","organizations_url":"https://api.github.com/users/s13884/orgs","repos_url":"https://api.github.com/users/s13884/repos","events_url":"https://api.github.com/users/s13884/events{/privacy}","received_events_url":"https://api.github.com/users/s13884/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-29T14:59:41Z","updated_at":"2016-04-06T12:09:53Z","closed_at":null,"body":"I have been trying to setup the Ad-hoc mode using brmfmac but got following logs it crashes while configuring.\r\n```\r\n[ 161.652031] ------------[ cut here ]------------\r\n[ 161.652121] WARNING: CPU: 3 PID: 97 at net/wireless/ibss.c:67 cfg80211_ibss_joined+0x17c/0x180 [cfg80211]()\r\n[ 161.652130] Modules linked in: joydev brcmfmac evdev brcmutil cfg80211 rfkill snd_bcm2835 snd_pcm snd_timer snd bcm2835_gpi omem bcm2835_rng uio_pdrv_genirq rpi_ft5406 rpi_backlight uio videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common vi deodev media i2c_dev fuse ipv6\r\n[ 161.652243] **CPU: 3 PID: 97 Comm: kworker/3:2 Not tainted 4.1.20-v7+ #867**\r\n[ 161.652252] Hardware name: BCM2709\r\n[ 161.652300] Workqueue: events brcmf_fweh_event_worker [brcmfmac]\r\n[ 161.652338] <800185e0>    (unwind_backtrace)  from  <80013f48>   (show_stack+0x20/0x24)\r\n[ 161.652362] <80013f48>  (show_stack) from <80572ddc>  (dump_stack+0xd4/0x118)\r\n[ 161.652384] <80572ddc>  (dump_stack) from <800271b4>  (warn_slowpath_common+0x98/0xc8)\r\n[ 161.652403] <800271b4>  (warn_slowpath_common) from <800272a0>   (warn_slowpath_null+0x2c/0x34)\r\n[ 161.652472] <800272a0>  (warn_slowpath_null) from <7f1b1f68> (cfg80211_ibss_joined+0x17c/0x180 [cfg80211])\r\n[ 161.652575] <7f1b1f68>  (cfg80211_ibss_joined [cfg80211]) from <7f2f37dc> (brcmf_notify_connect_status+0x284/0x3bc [brcm fmac])\r\n[ 161.652653] <7f2f37dc>  (brcmf_notify_connect_status [brcmfmac]) from <7f2faddc> (brcmf_fweh_call_event_handler+0x48/0xa 4 [brcmfmac])\r\n[ 161.652735] <7f2faddc>  (brcmf_fweh_call_event_handler [brcmfmac]) from <7f2faea0> (brcmf_fweh_event_worker+0x68/0x2d0 [ brcmfmac])\r\n[ 161.652788] <7f2faea0>  (brcmf_fweh_event_worker [brcmfmac]) from <8003e0b8> (process_one_work+0x154/0x458)\r\n[ 161.652811] <8003e0b8>  (process_one_work) from <8003e410> (worker_thread+0x54/0x500)\r\n[ 161.652831] <8003e410>  (worker_thread) from <80043bec> (kthread+0xec/0x104)\r\n[ 161.652851] <80043bec>  (kthread) from <8000faf8>](ret_from_fork+0x14/0x3c)\r\n[ 161.652863] ---[ end trace 5fd34bdc406f077e ]---\r\n```\r\nUnable to join the ibss. The power management is already off. So anyone ever noticed the same?"},"comment":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/comments/206343257","html_url":"https://github.com/raspberrypi/linux/issues/1384#issuecomment-206343257","issue_url":"https://api.github.com/repos/raspberrypi/linux/issues/1384","id":206343257,"user":{"login":"s13884","id":18145859,"avatar_url":"https://avatars.githubusercontent.com/u/18145859?v=3","gravatar_id":"","url":"https://api.github.com/users/s13884","html_url":"https://github.com/s13884","followers_url":"https://api.github.com/users/s13884/followers","following_url":"https://api.github.com/users/s13884/following{/other_user}","gists_url":"https://api.github.com/users/s13884/gists{/gist_id}","starred_url":"https://api.github.com/users/s13884/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s13884/subscriptions","organizations_url":"https://api.github.com/users/s13884/orgs","repos_url":"https://api.github.com/users/s13884/repos","events_url":"https://api.github.com/users/s13884/events{/privacy}","received_events_url":"https://api.github.com/users/s13884/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T12:09:53Z","updated_at":"2016-04-06T12:09:53Z","body":"brcmfmac source has following callback for ibss mode. \r\n.join_ibss = brcmf_cfg80211_join_ibss,\r\n.leave_ibss = brcmf_cfg80211_leave_ibss,\r\n\r\nNot sure but some issue with channel as per\tif (WARN_ON(!channel)) return; at net/wireless/ibss.c:67\r\nDo you think issue with channel?"}}