Re: d80211: RFC: divide by zero when hw->maxssi not set

2006-11-19 Thread Dan Williams
On Fri, 2006-11-17 at 15:51 -0800, David Kimdon wrote: > Hi, > > commit 448bf25bc9e3d70a211fdf235426472089371c43 added > ieee80211_get_wireless_stats in net/d80211/ieee80211_ioctl.c. At > present we get a divide by zero (oops) if the low level driver does > not set the new hw->maxssi field. Perh

Re: d80211: RFC: divide by zero when hw->maxssi not set

2006-11-17 Thread Michael Wu
On Friday 17 November 2006 18:51, David Kimdon wrote: > - reject registration of devices which do not set maxssi > - do not attempt to report link quality for drivers which do not > set maxssi > - other ideas? > I've noticed that too. p54 didn't get a driver update when maxssi was added. I don't

d80211: RFC: divide by zero when hw->maxssi not set

2006-11-17 Thread David Kimdon
Hi, commit 448bf25bc9e3d70a211fdf235426472089371c43 added ieee80211_get_wireless_stats in net/d80211/ieee80211_ioctl.c. At present we get a divide by zero (oops) if the low level driver does not set the new hw->maxssi field. Perhaps: - reject registration of devices which do not set maxssi - do