Advertisement
Guest User

broadcom-wl patch for linux 3.15

a guest
Jun 7th, 2014
681
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.57 KB | None | 0 0
  1. --- a/src/wl/sys/wl_cfg80211_hybrid.c   2013-08-01 09:52:22.000000000 +0300
  2. +++ b/src/wl/sys/wl_cfg80211_hybrid.c   2014-06-07 22:09:57.198723523 +0300
  3. @@ -1841,7 +1841,11 @@
  4.             wl_get_assoc_ies(wl);
  5.             memcpy(&wl->bssid, &e->addr, ETHER_ADDR_LEN);
  6.             wl_update_bss_info(wl);
  7. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)
  8. +           cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, &wl->conf->channel, GFP_KERNEL);
  9. +#else
  10.             cfg80211_ibss_joined(ndev, (u8 *)&wl->bssid, GFP_KERNEL);
  11. +#endif
  12.             set_bit(WL_STATUS_CONNECTED, &wl->status);
  13.             wl->profile->active = true;
  14.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement