diff options
Diffstat (limited to 'recipes-kernel/rsi-91x/files/rs9113_load_modules.sh')
-rwxr-xr-x | recipes-kernel/rsi-91x/files/rs9113_load_modules.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-kernel/rsi-91x/files/rs9113_load_modules.sh b/recipes-kernel/rsi-91x/files/rs9113_load_modules.sh index b77a781..d9a5ed0 100755 --- a/recipes-kernel/rsi-91x/files/rs9113_load_modules.sh +++ b/recipes-kernel/rsi-91x/files/rs9113_load_modules.sh @@ -16,6 +16,7 @@ usage() { echo "Configuration values:" echo " COEX_MODE" + echo " COUNTRY_CODE" echo " RSI_ANTENNA_DIVERSITY" echo " ANT_SEL_VAL" echo " RX_DATA_INACTIVE_INTERVAL" @@ -74,8 +75,12 @@ done if((err)) ; then usage fi + +: ${COUNTRY_CODE:=00} +logger -s -p daemon.error "Using COUNTRY_CODE $COUNTRY_CODE" cd /opt/rs9113/modules +modprobe cfg80211 ieee80211_regdom="$COUNTRY_CODE" modprobe mac80211 modprobe bluetooth |