On 10/13/2007 11:30 AM, Nick Kossifidis wrote: > I mean something like this... > > if(test_bit(MODE_IEEE80211B,hal->ah_capabilities.cap_mode)) { this reminds me I wanted to get rid of locked set_bit and use __set_bit instead ;-). > REGISTER_MODE(MODE_IEEE80211B); > } or do it directly in register_mode. I'm for making function from the macro in that case. regards, -- Jiri Slaby (jirislaby@xxxxxxxxx) Faculty of Informatics, Masaryk University - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html