Re: [PATCH 3/12] d80211: separate allocation of ieee80211_local

2006-06-12 Thread Jiri Benc
On Thu, 8 Jun 2006 09:49:07 +0200 (CEST), Jiri Benc wrote: ieee80211_local has a separate class_device. That means it has reference counting independent of master net_device and can be freed at a different time, therefore these two structures cannot be allocated together. Solve this by

Re: [PATCH 3/12] d80211: separate allocation of ieee80211_local

2006-06-12 Thread John W. Linville
On Mon, Jun 12, 2006 at 09:35:23PM +0200, Jiri Benc wrote: On Thu, 8 Jun 2006 09:49:07 +0200 (CEST), Jiri Benc wrote: ieee80211_local has a separate class_device. That means it has reference counting independent of master net_device and can be freed at a different time, therefore these two

[PATCH 3/12] d80211: separate allocation of ieee80211_local

2006-06-08 Thread Jiri Benc
ieee80211_local has a separate class_device. That means it has reference counting independent of master net_device and can be freed at a different time, therefore these two structures cannot be allocated together. Solve this by adding ieee80211_ptr pointer to net_device structure (similar to