ath9k: pass regd structure directly to regulatory functions
All regulatory information is encapsulated by the ath9k_regulatory struct, so we can now change all the callers to take that directly instead of struct ath_hw. This in turn will enable us to move the regulatory functions to common code also used by ath5k, since both can use this regulatory struct. Signed-off-by:Bob Copeland <me@bobcopeland.com> Acked-by:
Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by:
John W. Linville <linville@tuxdriver.com>
Showing
- drivers/net/wireless/ath9k/hw.c 3 additions, 3 deletionsdrivers/net/wireless/ath9k/hw.c
- drivers/net/wireless/ath9k/main.c 11 additions, 7 deletionsdrivers/net/wireless/ath9k/main.c
- drivers/net/wireless/ath9k/regd.c 61 additions, 57 deletionsdrivers/net/wireless/ath9k/regd.c
- drivers/net/wireless/ath9k/regd.h 11 additions, 6 deletionsdrivers/net/wireless/ath9k/regd.h
Loading
Please register or sign in to comment