From: Jason Andryuk Date: Wed, 18 Feb 2009 20:40:57 +0000 (+0200) Subject: at76c50x-usb: update to latest mac80211 hw scan api X-Git-Tag: v2.6.30-rc1~662^2~460^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19e8bc7fa7df2f208554d1d06b9af129cd7f452a;p=pandora-kernel.git at76c50x-usb: update to latest mac80211 hw scan api With the latest mac80211 stack, the driver needs to be updated for cfg80211 scanning. I based the changes off of modifications for at76_usb found here: http://johannes.sipsolutions.net/patches/old/all/2008-09-19-13:35/020-cfg80211-scan.patch The trick was that max_signal also needs to be set to avoid a divide by zero Oops. I just guessed and used the value 100 for now. kvalo: handpicked the change from two different patches Signed-off-by: Jason Andryuk Signed-off-by: Kalle Valo Signed-off-by: John W. Linville --- Reading git-diff-tree failed