• Ivo van Doorn's avatar
    [PATCH] rt2x00: Reorganize configuration handler · 5c58ee51
    Ivo van Doorn authored
    Reorganize configuration handling by creating a extra
    structure which contains precalculated values based
    on the mac80211 values which are usefull for all
    individual drivers.
    
    This also fixes the preamble configuration problem,
    up untill now preamble was never configured since
    by default the rate->val value was used when changing
    the mode.
    Now rate->val will only be used to set the basic rate mask.
    The preamble configuration will now be done correctly
    through the erp_ie_changed callback function.
    Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    5c58ee51
rt2x00mac.c 11.5 KB